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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
amybirc77
Helper II
Helper II

How do i get this visual

Hi All,

I have 2 measures MTD and MTD_LY, I want to add a 3rd column that should show if it is good or bad , please see the below sccreen shot (GREEN and RED Arrows), please advice. I looked something similar like

Measure =
IF ( MIN ( 'Table1'[Column1] ) < 600, UNICHAR ( 9650 ), UNICHAR ( 128315 ) )
 

but that is column againt a constant value.

 

Capture.PNG

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @amybirc77 ,

 

Additionally to your MTD and MTD_LY measure you would build a delta measure which creates the percentage difference between the first two like:

 

 

 

The format of the measure can be like this:

 

 

MTD_LY_DELTA = 

var var_MTD = [MTD]
var var_MTD_LY = [MTD_LY]
var var_MRT_LY_Delta = var_MTD - var_MTD_LY

RETURN
DIVIDE(
   var_MRT_LY_Delta,
   ABS(var_MTD_LY),
   BLANK()
)

 

 

For this measure typically you do the following formatting.

 

Mikelytics_0-1668455994177.png

 

Then you put all measures into the matrix visual:

Mikelytics_1-1668456066277.png

For clearer view I put the visual style on minimal

Mikelytics_2-1668456135835.png

Put on the conditional formatting for the DELTA column and the click on the fomula symbol

Mikelytics_3-1668456244845.png

 

now you can set the coloring rule. I configured it to be green for >= 80% and red for < 80%. You can choose in the number type for percentage of number. I prefer to work with number in each case and use decimal numbers to represent the percentages.

Mikelytics_4-1668456431478.png

 

after clikcing ok, the coloring is there

Mikelytics_5-1668456515603.png

now you can also create icons

Mikelytics_6-1668456562490.png

 

Mikelytics_7-1668456626724.png

 

Result after ok

Mikelytics_8-1668456648796.png

 

you can do some more stuff but this should give you a good overview to go on.

 

You can find more information here

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

 

 

 

 

 

 

 

 

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

4 REPLIES 4
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @amybirc77 ,

 

Additionally to your MTD and MTD_LY measure you would build a delta measure which creates the percentage difference between the first two like:

 

 

 

The format of the measure can be like this:

 

 

MTD_LY_DELTA = 

var var_MTD = [MTD]
var var_MTD_LY = [MTD_LY]
var var_MRT_LY_Delta = var_MTD - var_MTD_LY

RETURN
DIVIDE(
   var_MRT_LY_Delta,
   ABS(var_MTD_LY),
   BLANK()
)

 

 

For this measure typically you do the following formatting.

 

Mikelytics_0-1668455994177.png

 

Then you put all measures into the matrix visual:

Mikelytics_1-1668456066277.png

For clearer view I put the visual style on minimal

Mikelytics_2-1668456135835.png

Put on the conditional formatting for the DELTA column and the click on the fomula symbol

Mikelytics_3-1668456244845.png

 

now you can set the coloring rule. I configured it to be green for >= 80% and red for < 80%. You can choose in the number type for percentage of number. I prefer to work with number in each case and use decimal numbers to represent the percentages.

Mikelytics_4-1668456431478.png

 

after clikcing ok, the coloring is there

Mikelytics_5-1668456515603.png

now you can also create icons

Mikelytics_6-1668456562490.png

 

Mikelytics_7-1668456626724.png

 

Result after ok

Mikelytics_8-1668456648796.png

 

you can do some more stuff but this should give you a good overview to go on.

 

You can find more information here

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

 

 

 

 

 

 

 

 

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

@Mikelytics thank's a lot!, explained in a very layman way. Thanks

Hi @amybirc77, I am happy to help and appreciate your feedback.

Thank you very much!

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!
Greg_Deckler
Community Champion
Community Champion

@amybirc77 I don't know the business rules and there isn't much to go on but the general answer is Conditional formatting.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.