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, Simplistic version; I have 3+ facilities. 2 Of the facilities (FacA & FacB) do not report the data I want to show so I have to show a different measure when they are selected.
Facilities are stored in Table Facilities. Named as FacilitiesName
Measure A if any of the 2 facilities are filtered.
Measure B if neither of the 2 are selected.
And to note the 2 facilities could be filtered through RLS not by slicer. So whena user logs on they may just have those 2 facilities available or a user could use slicer to filter to those 2 fields.
Thank you. but its not giving me the second measure
Hi @billuran , can you show your expected result with some dummy data? It seems [Date Since Worked] should return date data type and [Compliance %] should return decimal number data type. This may cause a problem because you can set only a format for the conditional measure.
@billuran , Try a new measure like
if(isfiltered(Facilities[FacilitiesName]) && countx(filter(Facilities,Facilities[FacilitiesName] in {"FacA" ,"FacB"}),Facilities[FacilitiesName])+0>1, [Measure A],[Measure B])
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |