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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Odn_ndO
Helper I
Helper I

In Role Level Security, how do i make my dynamic header work as well.

I have set RLS for each region.
In my report i also have Dynamic header that will change accordingly when each reagion is selected, and if none is chose, the word GLOBAL will appear.
For this i use SELECTEDVALUE, thus with RLS, when in APAC , the header does not change and remain as GLOBAL as the slicer for region is not selected yet.
 
How can i make it that with RLS in place, i do not need to select the region and the correct header will reflect. but at the same time, the existing measure for the dynamic header still applies.
3 REPLIES 3
lbendlin
Super User
Super User

Consider using ISFILTERED and/or HASONEFILTER

Hi Ibendlin, 

 

Thank you for your response, my existing measures is already with ISFILTERED, kindly do see the measure as below and advise changes that has to be made.

 

ISSUE BREAKDOWN BY REGION =

SELECTEDVALUE

('Quarter'[Quarter],

" "

)  &

IF

(

ISFILTERED

('Region'[Region]),

""

,

" ALL"

) &

" ISSUE BREAKDOWN ANALYSIS BY REGION "

&

if

(

ISFILTERED

('Region'[Region]),

"FOR "

&

CONCATENATEX

(

values

('Region'[Region]),'Regionr'[Region],

", "

),

""

)

Formatting it gives

 

ISSUE BREAKDOWN BY REGION =
SELECTEDVALUE ( 'Quarter'[Quarter], " " )
    & IF ( ISFILTERED ( 'Region'[Region] ), "", " ALL" ) & " ISSUE BREAKDOWN ANALYSIS BY REGION "
    & IF (
        ISFILTERED ( 'Region'[Region] ),
        "FOR " & CONCATENATEX ( VALUES ( 'Region'[Region] ), [Region], ", " ),
        ""
    )

 

Be aware that you did not specify a sort order for CONCATENATEX, so the result will be random.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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