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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
bboy2025
New Member

A global variable usable by several reports

Hi everyone,

 

I have 10 reports that require RLS (Row-Level Security) configuration. In the RLS rules, I need to specify a value (e.g., Column 1 = 'France').

 

The challenge is that I would have to repeat this rule for each report, and since the value might change, it would necessitate updating it across all 10 reports.

 

Therefore, I would like to find a way to parameterize this so that it can be utilized by multiple reports. If a change occurs, I could simply update this global variable, and all reports would reflect the change.

 

I'm considering using Dataflow in Power BI Service for this, but so far, I haven't found a solution


Someone has a tip ?

1 ACCEPTED SOLUTION
Shahid12523
Community Champion
Community Champion

🔹 Create a Dataflow with a table like RLS_Config containing your target value (e.g., 'France').
🔹 Connect each report to this Dataflow and use DAX to pull the active value
VAR SelectedCountry =
LOOKUPVALUE(RLS_Config[Country], RLS_Config[IsActive], TRUE)
RETURN Table[Column1] = SelectedCountry


🔹 Update the Dataflow once, and all reports will reflect the change on refresh—no need to edit each report individually.

Shahed Shaikh

View solution in original post

2 REPLIES 2
Shahid12523
Community Champion
Community Champion

🔹 Create a Dataflow with a table like RLS_Config containing your target value (e.g., 'France').
🔹 Connect each report to this Dataflow and use DAX to pull the active value
VAR SelectedCountry =
LOOKUPVALUE(RLS_Config[Country], RLS_Config[IsActive], TRUE)
RETURN Table[Column1] = SelectedCountry


🔹 Update the Dataflow once, and all reports will reflect the change on refresh—no need to edit each report individually.

Shahed Shaikh
FBergamaschi
Super User
Super User

What issue are you encountering with Dataflows?

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.