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.
Hello,
I am almost certain that this isn't how PBI was working before, but anyways, how can I avoid this behaviour?
Example table:
Measures:
If I filter by city, to be just "dublin", why do I still have in "londons" measure value 1 instead of 0/ blank?
How can I make it 0?
Solved! Go to Solution.
Hey @Anonymous ,
you override the filter context with:
'Table'[city] = "london"
So it doesn't matter what you choose, you always override it with London. And that was always like that.
If you don't want that, remove that part of the formula.
@Anonymous If I am not mistaken, this is a case of your filter context being executed before your query context, which I am pretty sure that's how it has always been.
Hey @Anonymous ,
you override the filter context with:
'Table'[city] = "london"
So it doesn't matter what you choose, you always override it with London. And that was always like that.
If you don't want that, remove that part of the formula.
I see, I completely forgot that if I want to have it filtered by both (slicer and measure) I have to use FILTER
User | Count |
---|---|
17 | |
14 | |
13 | |
13 | |
11 |
User | Count |
---|---|
19 | |
16 | |
15 | |
11 | |
9 |