Menu
CoddyTech

Removing One Filter

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

REMOVEFILTERS(Table[Column]) removes the filter on one column; the rest stay.

Share in Country = DIVIDE([Revenue], CALCULATE([Revenue], REMOVEFILTERS(Products[Category])))

In a category by country matrix, each cell is a share of its country. Each column adds up to 100%.

REMOVEFILTERS(Table) works like ALL(Table) inside CALCULATE.

challenge icon

Challenge

What does each country buy? Write Share in Country: a category's Revenue as a share of its country's revenue. It is checked in a matrix of category by country.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?

All lessons in DAX with CALCULATE