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

Calculated column using a parameter

Hi everyone.

I'm having this issue:

 

I have a table with two columns: Category (text type) and Value (decimal number type

 

And I created a Parameter:

- Whole numbers

- From 1 to 10

- Increase of 1

- Default value 5

 

I want to create a column that says whether the value in table1 is greater than the parameter.

 

Something like

 

NewColumn = IF ( table1[value] > Parameter, TRUE(), FALSE() )

When I do that, if I change the Parameter in a slicer, the column doesn't change.

I need it to be a column since I want to use it in an Axis or Legend.

 

Does anyone know if I can do this and how?

Thanks!

 

 

1 REPLY 1
Anonymous
Not applicable

Columns are not dynamic like measures are in the way you want. You will need to do this in measures, if you can put it in the legend then I would suggest creating multiple measures and using those as your values. I cant provide a more indepth answer without more details.

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.