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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
klehar
Helper V
Helper V

Want the 'what if' parameter selection hard coded dynamically for each column of my calculated table

Hi all,

 

I want my 'what if' parameter selection hard coded dynamically for each column of my calculated table.

For Eg see below

 

Requirement 1

I have amount column in my table and I want that whatever value i select on my what if parameter, it goes and sits in each row of the percent column.

 

Requirement 2

This table below should be a new DAX table that uses addcolumns or selectedcolumns calculation.

AmountPercent
1030%
2030%
3030%
4030%
5030%

 

After this I want to perform some calculations using amount and percent but this would happen only when I acheive the above.

2 REPLIES 2
amitchandak
Super User
Super User

@klehar , You can not use what if column calculation. Actually, you can not use slicer in a calculated column calculation

You can use it only in measure 

 

For static value

new column  = .3 //mark as 5 column it will be 30 %

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak I know I cant use measures in calculated columns. 

But i'm looking for workarounds

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.