Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have RLS implemented
The issue is for a user with all Access , I do not want to illustrate a graph with all options , too busy
My Solution is to idenify the max ID assocaited with the Filter , have a generic name "Default" ; regardless of the options avaialble , it will always illustrate Default option based on what the user has access to
Having issue with DAX
Something like this
Solved! Go to Solution.
Hi @carlol
Try this:
Max =
VAR HospIDMax =
CALCULATE(
MAX( DimHospital[HospitalID] ),
FILTER( DimHospital, DimHospital[Hospital] <> "National" )
)
VAR _M =
MAX( DimHospital[HospitalID] )
RETURN
IF( _M = HospIDMax, "Default", _M )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Thanks will give it a try and let you know how I get on
Hi @carlol
Try this:
Max =
VAR HospIDMax =
CALCULATE(
MAX( DimHospital[HospitalID] ),
FILTER( DimHospital, DimHospital[Hospital] <> "National" )
)
VAR _M =
MAX( DimHospital[HospitalID] )
RETURN
IF( _M = HospIDMax, "Default", _M )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |