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
jagostinhoCT
Post Partisan
Post Partisan

Creating a measure that counts values from other measures

I have created measures to grade different aspects of my data (highlighted in yellow in the measures list)

Is there a way that I can create another measure that it looks at all the values from the other measures?

 

For instance, from the example, let's say that

Green = 0

Amber = 1

Red = 3

 

And I I want it so that if

the sum of all different measures is < 7 the General Grading is "Green";

If  is 7 < x < 14 is "Amber";

if it is > 14 is "Red".

 

I plan to develop additional grading aspects. What is the best way of doing it so that I can easily update the General Grading to acommodate these additional gradings?

 

Thank you

J

Image 1013.pngImage 1012.png

 

 

1 ACCEPTED SOLUTION
v-cherch-msft
Employee
Employee

Hi @jagostinhoCT 

You may create a measure like below and then use conditional formatting.

Measure =
IF (
    [Measure1] + [Measure2] + [Measure3] < 7,
    IF ( [Measure1] + [Measure2] + [Measure3] > 14, 3, 2 )
)

1.png

Regards,

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

View solution in original post

1 REPLY 1
v-cherch-msft
Employee
Employee

Hi @jagostinhoCT 

You may create a measure like below and then use conditional formatting.

Measure =
IF (
    [Measure1] + [Measure2] + [Measure3] < 7,
    IF ( [Measure1] + [Measure2] + [Measure3] > 14, 3, 2 )
)

1.png

Regards,

Community Support Team _ Cherie Chen
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.