Menu
CoddyTech

Share of What Is Shown

Part of the DAX with CALCULATE section of Coddy's Power BI journey. Lesson 10 of 24.

With a visual filter on, a share built with ALL still divides by everything.

ALLSELECTED removes the row's filter and keeps the visual's and the page's filters.

Share Shown = DIVIDE([Revenue], CALCULATE([Revenue], ALLSELECTED(Stores)))

The rows the visual shows add up to 100%.

challenge icon

Challenge

The table is filtered to Portugal and Spain. Write Share Shown: a store's Revenue as a share of the stores shown, so the rows add up to 100%. It is checked for each store.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in DAX with CALCULATE