Salesforce Interview Questions-Reports & Dashboards

  1. Question 1. What Is Report?

    Answer :

    To summarize the information of an object we use reports.

  2. Question 2. What Are Different Types Of Reports?

    Answer :

    Tabular report: This is the most basic report. It displays just the row of records in a table-like format with a grand total. Tabular reports cannot be used for generating dashboards.

    Summary report: This is the most common type of report. It allows grouping of rows of data. It supports sorting and displaying subtotals. For example in a recruiting app, a summary report could be used to display open positions classified by department names.

    Matrix report: This is the most complex report format. Matrix report summarizes information in a grid format. Matrix reports allow records to be grouped by both columns and rows.

    Joined Reports: Joined reports let you create multiple report blocks that provide different views of your data. Each block acts like a “sub-report,” with its own fields, columns, sorting, and filtering. A joined report can even contain data from different report types.

  3. Question 3. What All Reports Can Be Used To Generate Dashboards?

    Answer :

    Summary and Matrix reports

  4. Question 4. What All Things Are Not Supported In Joined Reports?

    Answer :

    The following items aren’t supported in joined reports, and aren’t converted:

    • Bucket fields
    • Cross filters
    • The Rows to Display filter
  5. Question 5. What Are Bucket Fields?

    Answer :

    Bucketing lets you quickly categorize report records without creating a formula or a custom field. For example, create a bucket field named Size based on the # Employees field. Then, create buckets that group records into “Large,” “Medium,” or “Small” range that you define. Bucket fields can be used like any other field to sort, filter, and group your report.

    You can add up to five bucket fields per report, each with up to 20 buckets. Only numeric, picklist and text field can be used for bucketing. Other data types are not supported.

  6. Question 6. Can We Create A Formula Type In Reports?

    Answer :

    Yes.

    The formula is not available in tabular reports but available for other report types.

    The formula can be only in number, currency, and percent format.

  7. Question 7. What Is A Custom Report Type?

    Answer :

    Custom report types allow you to build a framework in the report wizard, from which users can create and customize reports. You build custom report types off of the relationships (master-detail and lookup) between objects so that you can:

    • Choose which standard and custom objects to display to users creating and customizing reports.
    • Define the relationships between objects displayed to users creating and customizing reports.
    • Select which objects' fields can be used as columns in reports.
    • Note that the visibility of custom report types in the report wizard is controlled by users' access to the objects in the report type.
    • You may define which related records from other objects are returned in report results by choosing a relationship to another object.
    • You can associate up to four objects to a custom report type.
  8. Question 8. What Is the Difference Between Custom Report Types And Standard Report Types?

    Answer :

    Standard report types are report types which salesforce create themselves when we create objects and relationship between them.

    Custom report types allow admin to specify what all fields will be available to the user while creating a report. Also, it provides the functionality to associate up to 4 objects.

  9. Question 9. How Access To Reports And Dashboard Is Controlled In Salesforce?

    Answer :

    Access to reports and dashboards is controlled by the folder in which they are stored. If the user has access to a folder then they can run reports present in that folder.

    In reports data displayed is as per running user's security access. Reports can be run on both standard and custom objects.

    Reports data is always generated in real-time. When a report is saved, reports configuration parameters are stored but the generated data is not stored.

  10. Question 10. What Is Analytical Snapshot?

    Answer :

    Analytical snapshot allows reports to run at the scheduled time to be stored as objects. Analytical snapshots are used to perform trend analysis. As an example, if we want to view how monthly sales are growing, fields in a report with sales figures can be stored in a custom object every month using an Analytical snapshot. Data in this custom object can then be used to perform trend analysis.

    Analytical snapshots are available from the Data Management menu option. Source report in Analytical snapshot can be of the type Tabular or Summary.

    Setup Analytical reports require a four-step process:

    • Select source report
    • Select custom object
    • Map source report fields to custom object fields
    • Schedule the frequency for taking the snapshots
  11. Question 11. What Is the Dashboard?

    Answer :

    Dashboards are graphical representations of reports. Dashboards can be generated for summary or matrix reports (and not for tabular reports). Dashboards display data as per the last time report was run.

    A dashboard can have up to 20 components.

  12. Question 12. Is It Possible That Data You See On Dashboard And Data You See On Report After Drilling Down The Report On Dashboard Are Different?

    Answer :

    Yes.

    When a user views the drill-down report for a dashboard component, running user's access permissions determine what data is displayed on the drill-down report. Hence it is possible that data in the drill-down report does not match the cumulative dashboard data.

    Remember report runs based on current or logged in user and display real-time data but dashboard store the information from reports when you refresh the dashboard. In order to see real-time data on the dashboard, refresh the dashboard.

    Also, the dashboard can run based on logged in user or specified user but reports always run based on logged in user.

  13. Question 13. What Are Different Chart Types Available For Dashboards?

    Answer :

    • Vertical column
    • Horizontal bar
    • Line
    • Donut
    • Funnel
    • Pie

    Funnel is used to show the proportion of values against each other.

    Pie is used to demonstrate the proportion of a single value against the total.

    Donut is used to demonstrate the proportion of single value against total and also show the total value.

  14. Question 14. What Are the Limitations Of Salesforce Reports?

    Answer :

    • Support for trend analysis in Salesforce is fairly limited.
    • User Interface of Salesforce reports and dashboards is fixed. Salesforce does not support the pixel-perfect reports.
    • Salesforce reports do not support importing data from other sources
    • When displaying objects and their children, Salesforce does not support reporting on objects that do not have any children.
    • If an object has two different related lists, then Salesforce reporting does not support displaying both these related lists together.
  15. Question 15. Explain the Dynamic Dashboard?

    Answer :

    Dynamic dashboards in Salesforce displays a set of metrics that we want across all levels of your organization.

    Dynamic Dashboards in salesforce are Created to provide security settings for the dashboards in salesforce.com. We may have a requirement in an organization to “view all data” by every user in an organization according to their access we have to select Run as Logged-in User. There are two setting options in Dashboards.

    They are:

    1. Run as specified user.
    2. Run as Logged-in User.

    Question 16. Can We Mass Delete Reports Use Apex (anonymous Apex)?

    Answer :

    Salesforce has not exposed any API for Reports. So the best way is :

    • Move all reports that need to delete in the new folder.
    • Inform everyone that reports will be deleted after some time maybe 30 days.
    • Import your reports folder in Eclipse including all reports to be deleted and then delete the reports folder in eclipse. It will delete all the reports at once.

    Question 17. How Many Records We Can Display On Page For A Report?

    Answer :

    We can display up to 2000 records on a page. If more records are there to display we cannot see those through the user interface. If you export the records to an excel sheet then you can export all records.

Comments

Popular posts from this blog

Adding a red asterisk to required fields using label in LWC

The Developer Console didn't set the DEVELOPER_LOG trace flag on your user. Having an active trace flag triggers debug logging. You have 1,978 MB of the maximum 1,000 MB of debug logs. Before you can edit trace flags, delete some debug logs.

Salesforce: Serial and Parallel Approval