Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everybody.
In a performance dashboard with numerous KPIs, we have data for 10 key customers. We have a frontpage where we choose (i.e. slice) the customer we want to see data for on all the remaining pages.
Our challenge is that we need to show benchmark (that is, the average value for all customers) for all KPIs in the dashboard. However, we are not interested in including the selected customer in the benchmark.
We have figured out how to get the average value by using the DAX formula “ALL” (so it ignores the filter on the frontpage), but we need help on how to exclude the selected customer (which is chosen in the frontpage).
This dax calculation is the closest we have come to an option, but it's not showing the right number as when we calculated it manually:
Our dataset is confidential, so we can not provide you with it.
Thank you.
Solved! Go to Solution.
@Anonymous , Try like
Benchmark = CALCULATE( [KPI] ,EXCEPT(ALL(CompanyTable[Company]),allselcted(CompanyTable[Company])))
@Anonymous , Try like
Benchmark = CALCULATE( [KPI] ,EXCEPT(ALL(CompanyTable[Company]),allselcted(CompanyTable[Company])))
Thanks for the quick answer! 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
68 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |