Forum Discussion
A global variable usable by several reports
- 1 year ago
🔹 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.
🔹 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.