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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
RKAD
New Member

Using parameter numeric range in a calculated colunn in PowerBi desktop

I would like to calculate a value of percentage in Test DPR according to values in two other colunns PARI and Rapport juste like this :  

RKAD_0-1733923577572.png

Then I would the condition of each switch case (Rapport 1, Rapport 2 and Rapport 3) and action to do for each case (GAG, JUG...etc ) to be dynamic and adjustable by the user througth  some parameter numerci range 

 

RKAD_1-1733929553166.png

The Rapport 1 Rapport 2 and Rapport 3 paramter numeric range work properly  but the GAG1 JUG1 dont at all I tried différence mays to insert then in the formula but nothing works

RKAD_2-1733930174389.png

The colunn results just blank

RKAD_3-1733930384443.png

Could you please help me to solve this issue ?

Thank you very much for your help 

2 ACCEPTED SOLUTIONS
johnt75
Super User
Super User

Calculated columns are only calculated during data load or refresh, they are not affected by any slicers or filters. If you want something to react dynamically then you must use a measure.

View solution in original post

Anonymous
Not applicable

Hi, @RKAD 

Thanks for @johnt75's reply. Here's some additional content. Calculated column store the data in the model once it is written and are not affected by filters such as slicers; Measure changes in real time and is affected by filters, so you should try to use measure rather than calculated column.

Difference Between Calculated Column and Measure in Power BI - SharePoint & Microsoft Power Platform...
When to use Calculated Columns and Calculated Fields - Microsoft Support

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @RKAD 

Thanks for @johnt75's reply. Here's some additional content. Calculated column store the data in the model once it is written and are not affected by filters such as slicers; Measure changes in real time and is affected by filters, so you should try to use measure rather than calculated column.

Difference Between Calculated Column and Measure in Power BI - SharePoint & Microsoft Power Platform...
When to use Calculated Columns and Calculated Fields - Microsoft Support

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

johnt75
Super User
Super User

Calculated columns are only calculated during data load or refresh, they are not affected by any slicers or filters. If you want something to react dynamically then you must use a measure.

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.