The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I've uploaded my pbix file here -> https://ufile.io/dsp0vngv . I have the following data:
And two calculated measures:
Which I've displayed in the visuation table below:
What I don't understand is that for answer c the below line of code is not overriding the existing filter context? i.e. why is every line of the above table visualisation not 5 for the answer d column? I thought the FILTER function leaves the existing filter context intact but then overrides any filter context where a filter is defined within the FILTER function?
I believe this is to the behavior of ALL. I've found ALLEXCEPT to supply a solution for most of these situations. It will remove implicit and explicit filters, with exception those applied ot the columns secified in the expression.
You can also try creating a custom table to see the result of your filter.
filter ( filter ( your filter in the calculate ) , the implicit filters of the visual )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
79 | |
78 | |
44 | |
39 |
User | Count |
---|---|
150 | |
116 | |
68 | |
64 | |
58 |