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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
kennylch
Helper I
Helper I

new column based on measure value

Below is the sample data extracted from my matrix table. 

 

The measure column created using this. it gives the correct value as expected as well as conditional formatting with right colour shade. 

Measure = (sum(KFACTOR[Net Qty])-[Req Qty])/[Req Qty]

 

I try to create a column base on the Measure value. 

Healthy Level = if([Measure]<0,"Unhealthy Level",IF([Measure]<5,"Healthy Level","Above Healthy"))

 

There isnt any issue if PART column not repeating. Eg 'PART 201371605. The measure gives 2 different value (which is correct). But the heathy level column gives incorrect result as it only based on the measure value in a one of the record and apply the same to both row.

 

How to i create the Heathy Level column correctly to display the correct result 

 

 

 

Untitled.png

3 REPLIES 3
rajendraongole1
Super User
Super User

Hi @kennylch - you can create a measure instead of calculated column 

ex: as per data

Healthy Level =
IF(
[Measure] < 0,
"Unhealthy Level",
IF(
[Measure] < 5,
"Healthy Level",
"Above Healthy"
)
)

Hope it helps





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi. It doesnt help as this invole 2 table.. Once i insert a measure like this. My other measure became blank

Hi @kennylch - you can create measure logic in calculated column, using related function to the data.

Measure_Column =
([Net Qty] - RELATED(OtherTable[Req Qty])) / RELATED(OtherTable[Req Qty])

 

and then use the create calculated column provided as below:

Healthy Level =
IF(
[Measure_Column] < 0,
"Unhealthy Level",
IF(
[Measure_Column] < 5,
"Healthy Level",
"Above Healthy"
)
)

 

 

hope it helps

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.