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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors