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
I have a page with some page level filters
I have a measure
Solved! Go to Solution.
i can be very wrong, but i believe that this
Measure = CALCULATE(AVERAGE(CustomerData[Score]), FILTER(ALL(CustomerData), CustomerData[ProductLine] = "xxx"), FILTER(ALL(CustomerData), CustomerData[Tenure] > 123))
actually doesnt do what you expect it to do, the second filter is actually overwriting the first one,
you should try this:
Measure = CALCULATE( AVERAGE(CustomerData[Score]), FILTER(ALL(CustomerData), CustomerData[ProductLine] = "xxx" && CustomerData[Tenure] > 123) )
also, the ALL filter will ignore all filter outside the CALCULTE context, so is highly improbable that what is bugging your calculation is the page level filter; try fixing the measure as above and if you can help us with some context, example, demo, anything more material.
😉
i can be very wrong, but i believe that this
Measure = CALCULATE(AVERAGE(CustomerData[Score]), FILTER(ALL(CustomerData), CustomerData[ProductLine] = "xxx"), FILTER(ALL(CustomerData), CustomerData[Tenure] > 123))
actually doesnt do what you expect it to do, the second filter is actually overwriting the first one,
you should try this:
Measure = CALCULATE( AVERAGE(CustomerData[Score]), FILTER(ALL(CustomerData), CustomerData[ProductLine] = "xxx" && CustomerData[Tenure] > 123) )
also, the ALL filter will ignore all filter outside the CALCULTE context, so is highly improbable that what is bugging your calculation is the page level filter; try fixing the measure as above and if you can help us with some context, example, demo, anything more material.
😉
It worked Thank You!
Hi @Anonymous,
According to my test, it seems impossible since you have clear all the filters on [CustomerData]. Can you share a dummy sample? Please upgrade the Desktop to the latest version. Please refer to my test.
Best Regards,
Dale
yeah sure, can you paste your measure!
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.
User | Count |
---|---|
110 | |
82 | |
63 | |
54 | |
52 |
User | Count |
---|---|
127 | |
118 | |
81 | |
65 | |
64 |