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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Building/calculate column values in a table based on numeric value in the measure

I am looking at developing a dynamic table(Table 1) whose columns are A and B. A contains text X1, X2,....X6. B contains numbers to be calculated based on numberic value of measure Z, which is depended on the user selection of filters.

if z= 200 --- value of this measure is dependent on the user selection of filters in the power BI
Table 1

A      B     formula for column B

X1   20    (0.1*z)
X2   30    (0.15*z)
X3   50    (0.25*z)
...

X6 

If Z = 300, the values in column B should auto calculate using above formula for column B

Kindly help!


 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

You could create a what-if parameter and then use it in a measure.

Measure_B = SUM('Table'[Rate])*[Parameter Value]

Capture16.JPG

But it is a measure instead of a column.

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.