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 Created Measure that is working correctly [Asthma M%]. However, I need to create an additional created measure that is essentially the same...but that ignores the Page Slicer [Group_ID].
Here is my existing Created Measure:
Solved! Go to Solution.
@AW1976NOVA , Try like
Asthma M% = CALCULATE(DIVIDE(CALCULATE(DISTINCTCOUNT('Data Files'[MBR_ID]), Filter('Data Files','Data Files'[Asthma_IND] = "Asthma")),(CALCULATE(DISTINCTCOUNT('Data Files'[MBR_ID])))), all(Table [Group_ID]))
But if it is page level filter , than I doubt it will work
@AW1976NOVA , Try like
Asthma M% = CALCULATE(DIVIDE(CALCULATE(DISTINCTCOUNT('Data Files'[MBR_ID]), Filter('Data Files','Data Files'[Asthma_IND] = "Asthma")),(CALCULATE(DISTINCTCOUNT('Data Files'[MBR_ID])))), all(Table [Group_ID]))
But if it is page level filter , than I doubt it will work
You have a bit of extra code in your first measure and you should avoid filtering an entire table and just filter the column you need, like so.
Asthma M% =
DIVIDE (
CALCULATE (
DISTINCTCOUNT ( 'Data Files'[MBR_ID] ),
FILTER (
VALUES ( 'Data Files'[Asthma_IND] ),
'Data Files'[Asthma_IND] = "Asthma"
)
),
DISTINCTCOUNT ( 'Data Files'[MBR_ID] )
)
Then, for the all groups version you could do.
Astma M% All Groups =
CALCULATE ( [Astma M%], ALL ( 'Data Files'[Group ID] ) )
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 |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |