Microsoft Power BI Data Analyst Practice Question

You are designing a clustered bar chart that shows a measure named SalesAmount by ProductSubcategory. The chart can be affected by page-level filters, report-level filters, and slicers (for example, a ProductCategory slicer). You need a data label that displays each subcategory's percentage contribution to the total sales after any of those filters are applied, but regardless of the filter coming from the visual's category axis. Which DAX expression should you use for the Subcategory % of Total measure?

  • DIVIDE ( [SalesAmount], CALCULATE ( [SalesAmount], ALLEXCEPT ( 'Product', 'Product'[ProductSubcategory] ) ) )

  • DIVIDE ( [SalesAmount], CALCULATE ( [SalesAmount], REMOVEFILTERS () ) )

  • DIVIDE ( [SalesAmount], CALCULATE ( [SalesAmount], ALL ( 'Product' ) ) )

  • DIVIDE ( [SalesAmount], CALCULATE ( [SalesAmount], ALLSELECTED ( 'Product' ) ) )

Microsoft Power BI Data Analyst
Visualize and Analyze the Data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot