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.
Hi, I have a report that takes state, subregional, and regional data and you can filter via a slicer on all three components. For instance, I can select Southeast, or East North Central, or State.. etc. and I can get most of my visuals to show me the subset of what I've selected.
HOWEVER, I have some cards that show things like "Household Income", "# of Vehicles", "Life expectancy", etc. They're all set up with dax measures and they look like this:
Solved! Go to Solution.
@Neutralcats , the above measurements should work at region and subregion with GT(Overall, no filter). But if you want to filter only the selected total you can use allselected
like
AverageLifeExpectCompare =
VAR averageLifeExpect =
CALCULATE( AVERAGE (Sheet1[Life Expectancy]),allselected(Sheet1[State]))
RETURN
IF (AVERAGE(Sheet1[Life Expectancy]) >= averageLifeExpect, "Above Average","Below Average")
In case you want filter for Above and below avg, refer this video
Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://www.youtube.com/watch?v=W4EF1f_k6iY
@Neutralcats , the above measurements should work at region and subregion with GT(Overall, no filter). But if you want to filter only the selected total you can use allselected
like
AverageLifeExpectCompare =
VAR averageLifeExpect =
CALCULATE( AVERAGE (Sheet1[Life Expectancy]),allselected(Sheet1[State]))
RETURN
IF (AVERAGE(Sheet1[Life Expectancy]) >= averageLifeExpect, "Above Average","Below Average")
In case you want filter for Above and below avg, refer this video
Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://www.youtube.com/watch?v=W4EF1f_k6iY
Thank you! Do you know what I would do to dynamically change the card name? I don't have a measure for it, only a field.
I did get this far -
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 |
---|---|
114 | |
105 | |
78 | |
67 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
83 | |
70 |