Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Beckster
Frequent Visitor

Dynamic Textbox with RLS

Hi Guys

I've got a dashboard that has a dynamic heading based what has been selected in a slicer, but can't work out how to make this work automatically when using RLS? 

 

 

The text measure will check if the colleague slicer is filtered first and if not, looks at region slicer and if that isn't filtered it defaults to "Global". With RLS, the colleague will see their results (as report is filtered on [full_name] but as the slicer hasn't been physically filtered, the text is saying "Global".

 

Am trying to find a solution that will allow for RLS and also allow the slicers to be used for those who are not restricted with RLS. Does anyone have any ideas?

 

Hope that makes sense!

 

The measure for the text is:

 

Title_SalesTrends_2FY = if(ISFILTERED(vw_dim_user[full_name]),values(vw_dim_user[first_name])&"'s",if(ISFILTERED(vw_dim_region[regionname]),values(vw_dim_region[regionname]),"Global"))&" Sales Trends - last 2 FYs"

 

Screenshot 2016-07-06 10.25.12.png

 

Screenshot 2016-07-06 10.25.38.png

 

Screenshot 2016-07-06 10.30.25.png

 

 

2 REPLIES 2
Georg
Frequent Visitor

Hi Beckster,

did you solve the issue? I have exactly the same problem.

 

kind regards,

Georg

Eric_Zhang
Microsoft Employee
Microsoft Employee


@Beckster wrote:

The text measure will check if the colleague slicer is filtered first and if not, looks at region slicer and if that isn't filtered it defaults to "Global". With RLS, the colleague will see their results (as report is filtered on [full_name] but as the slicer hasn't been physically filtered, the text is saying "Global".

 


Not sure what you mean, if you'd like the same text as Adam's Sales Trend... instead of Global without checking colleague slicer,  try USERNAME() or IF(HASONEVALUE(vw_dim_user[full_name]),xxxxxx,xxxxx) instead of ISFILTERED in your measure when the dataset is restricted by full_name in RLS.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors