Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
Posted this issue before but still not resolved. I've got the example PBI to help now. (https://drive.google.com/file/d/194BFC7gDw49tSzkBzqz0CJ6MUmxx7H18/view?usp=sharing)
I have a Matrix table with Values which appear in 3 categories (Table example below):
When displaying this data in a Matrix with Columns as Category and Values as Value it can be seen below. What I would like however, is the Matrix to filter out the 0's that appear BUT only if Category C has a 0 and not if A or B has a 0. I guess I need some sort of measure to sort this as Advanced Filtering does not work (as filtering 0 removes all instances of 0 from values). The measure I've tried is already in the file and I also tried a calc. column with similar logic.
Any help would be appreciated.
Solved! Go to Solution.
@TotunG Perhaps something like:
Complex Selector =
VAR __Calculation = CALCULATE( [Measure], [Category] = "C" )
VAR __Return = IF( __Calculation = 0, 0, 1 )
RETURN
__Return
Then use the FILTER pane to filter the visual for when this measure equals 1.
@TotunG Perhaps something like:
Complex Selector =
VAR __Calculation = CALCULATE( [Measure], [Category] = "C" )
VAR __Return = IF( __Calculation = 0, 0, 1 )
RETURN
__Return
Then use the FILTER pane to filter the visual for when this measure equals 1.
Think that worked Greg! I definitely need to use variables more - they always help break down the issue...I tend to want to try nest everything haha.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |