Forum Discussion

Revati25's avatar
Revati25
Advocate I
1 year ago
Solved

Trying to add a filter using calculated column

I am trying to create a filter using a calculated column,  The calculation is used for bifercation of data based on a Measure, before it was only taking one condition and now it is giving an Error "...
  • v-saisrao-msft's avatar
    v-saisrao-msft
    1 year ago

    Hi Revati25,

    It appears the issue arises because Power BI doesn't support using measures directly in calculated columns, as they function at a row-level context. A potential solution is to create a calculated column for Exclude Utilization using the actual column values instead of the measure.

    Additionally, ensure the denominator has no zeros or blanks to prevent further errors. If the logic is only required for visuals, consider using a Measure instead, which is more efficient.

     

    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

     

    Thank you.