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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Overwrite Variables when calling a measure

In some cases I would like to be able to overwrite a variable in a measure when using it in another measure.

For example:

If I have a measure like this:

Base =  VAR number = 1 RETURN  number 

and want to use that measure in another measure but with a different value for the variable.


I would like if there was a option to write something like "OVERWRITEVAR()" like this:

Override =  CALCULATE(     Test,     OVERRIDEVAR(number = 2) ) 

Then I can have one base measure that I can reference with different variable value for related measures.


I can't be the only one....


Status: New
Comments
fbcideas_migusr
New Member
Status changed to: New