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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Conditional formating a column based on a measure outside the table (Rules configuration issue)

Hello , I am confused about setting up conditional formating rules for a column.
Here is my scenario, I need to compare the values of the column highlighted in blue (they are calculated using let's say "measure A") with the measure in green (calculated using measure B so it is not a fixed value).
So in the conditional formating tab I want to set an icon to show down arrow if the value on the table is less than the green value, or an up arrow if the value is above the green value.

talleslessa_0-1627047267133.png

 

The picture above shows how it was supposed to look like . The issue isI have no idea how to make it work like that, I got it like that once by setting rules at random and got that output. Here are the rules I set where the green box sets the measure B as comparison, it used to work but then I set it to apply to values and totals and it broke, I tried going back to just values and it is still broken

talleslessa_2-1627047752245.png

 

As you can see 

talleslessa_3-1627047960140.png

How do I make this work again?

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the sugestion, they are displayed as a %, However I made it work in another way.

I created a new measure that compares both values and returs 0 if measure A is lower than B, 1 if it is higher or 2 if it is equal whithing a set deviation.

And set the rules to monitor this new measure and format accordingly

talleslessa_0-1627052306095.png

Now it works as expected 

talleslessa_1-1627052411947.png

 

 

View solution in original post

2 REPLIES 2
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Is the data format of your both measures percentage or you are diaplaying them as percentages?

There is a big difference in both of the above.

 

If you are just displaying the measure values as percentages, then in the conditional formatting window, you will have to compare on a scale of 0 to 1 rather than a scale of 0 to 100.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Thanks for the sugestion, they are displayed as a %, However I made it work in another way.

I created a new measure that compares both values and returs 0 if measure A is lower than B, 1 if it is higher or 2 if it is equal whithing a set deviation.

And set the rules to monitor this new measure and format accordingly

talleslessa_0-1627052306095.png

Now it works as expected 

talleslessa_1-1627052411947.png

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.