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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sugra
Helper I
Helper I

Can a report parameter be used to evaluate a column expression?

Hi all,

 

I want to use the value from a what-if report parameter  to form part of an If analysis column in another table. The steps I used are:

 

1. Create the parameter; a Multiplier table is formed with Multiplier Value column.

2. Created a column in another table. Use a formala such as If (X > Multiplier[Multiplier Value]....

 

On its own, the parameter changes values. However within the column, only the parameter's default value is recognized.

Is there a work around to attain this?

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

Columns are not dynamic, they are calculated at the time of data load. You need to use a measure.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

v-juanli-msft
Community Support
Community Support

Hi @sugra 

Yes, please create a measure instead.

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

 

Best Regards

Maggie

View solution in original post

3 REPLIES 3
sugra
Helper I
Helper I

Thanks Maggie and Greg, 

 

I have a follow up question. 

 

I tried to change the column to a measure, but it did not accept it. The formula I am trying to get working is for values in each row to be compared to the parameter and be given a category.

 

Parameter  Multiplier[Multiplier Value]

 

 

Measure = IF([Field 1] > Multiplier[Multiplier Value], "A", IF ([Field 2] = Multiplier[Multiplier Value], "B", IF([Field 1] < Multiplier[Multiplier Value])))

 

It works in the Column but not in a Measure.. ( I assume because measure is expected more of a calculation than evaluation). 

 

Is there an alternative way to a achieve this?

v-juanli-msft
Community Support
Community Support

Hi @sugra 

Yes, please create a measure instead.

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

 

Best Regards

Maggie

Greg_Deckler
Community Champion
Community Champion

Columns are not dynamic, they are calculated at the time of data load. You need to use a measure.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors