Join the discussion
Question 16/19
A client wants to flag orders that have sales higher than the regional average.
Which calculated field will produce the required result?
Which calculated field will produce the required result?
Correct Answer: C
To flag orders with sales higher than the regional average, the correct calculated field would compare the sum of sales for each order against the average sales of all orders within the same region:
* Correct Formula:{ FIXED [Order ID] : SUM([Sales]) } > { FIXED [Region] : AVG({ FIXED
[Order ID] : SUM([Sales]) }) }
* This calculation uses a Level of Detail (LOD) expression:
* The left part of the formula{ FIXED [Order ID] : SUM([Sales]) }calculates the total sales for each individual order.
* The right part{ FIXED [Region] : AVG({ FIXED [Order ID] : SUM([Sales]) }) }calculates the average sales per order within each region.
* The>operator is used to compare these two values to determine if the sales for each order exceed the regional average.
ReferencesThis formula utilizes Tableau's LOD expressions to perform complex comparisons across different dimensions of the data, as explained in Tableau's official training materials on LOD calculations.
* Correct Formula:{ FIXED [Order ID] : SUM([Sales]) } > { FIXED [Region] : AVG({ FIXED
[Order ID] : SUM([Sales]) }) }
* This calculation uses a Level of Detail (LOD) expression:
* The left part of the formula{ FIXED [Order ID] : SUM([Sales]) }calculates the total sales for each individual order.
* The right part{ FIXED [Region] : AVG({ FIXED [Order ID] : SUM([Sales]) }) }calculates the average sales per order within each region.
* The>operator is used to compare these two values to determine if the sales for each order exceed the regional average.
ReferencesThis formula utilizes Tableau's LOD expressions to perform complex comparisons across different dimensions of the data, as explained in Tableau's official training materials on LOD calculations.
Add Comments
- Other Question (19q)
- Q1. A client builds a dashboard that presents current and long-term stock measures. Currently,...
- Q2. A client has a published dashboard. They change the dashboard and then republish it. Now, ...
- Q3. A company has a data source for sales transactions. The data source has the following char...
- Q4. A client is using Tableau to visualize data by leveraging security token-based credentials...
- Q5. From the desktop, open the CC workbook. Open the City Pareto worksheet. You need to comple...
- Q6. A consultant wants to improve the performance of reports by moving calculations to the dat...
- Q7. A client is searching for ways to curate and document data in order to obtain data lineage...
- Q8. A client is working in Tableau Prep and has a field named Orderld that is compiled by coun...
- Q9. A client creates a report and publishes it to Tableau Server where each department has its...
- Q10. A client wants to provide sales users with the ability to perform the following tasks: Acc...
- Q11. A multi-national company wants to have a Tableau dashboard that will provide country-level...
- Q12. A client has many published data sources in Tableau Server. The data sources use the same ...
- Q13. A client notices that while creating calculated fields, occasionally the new fields are cr...
- Q14. A new Tableau user created a simple dashboard on Tableau Server using supply chain data. N...
- Q15. For a new report, a consultant needs to build a data model with three different tables, in...
- Q16. A client wants to flag orders that have sales higher than the regional average. Which calc...
- Q17. For a new report, a consultant needs to build a data model with three different tables, in...
- Q18. From the desktop, open the CCworkbook. Use the US PopulationEstimates data source. You nee...
- Q19. A client wants to report Saturday and Sunday regardless of the workbook's data source's lo...
