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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
amabrenda1986
Resolver II
Resolver II

Dynamic change of colors for arrows

I have this Measure for changing arrows from up to down or blank and it works well.

Intake Arrows
Intake Arrows = SWITCH(TRUE(),
Intakes[Intake Variance %]<0, UNICHAR(9660),
Intakes[Intake Variance %]>0, UNICHAR(9650),
BLANK()
)

Please can someone tell me how to make arrows automatically red when less than 0 and green when greater than 0 or blue when no changes at all.

 

Thank you

5 REPLIES 5
theov
Advocate II
Advocate II

I would recommend you watching this, you'll get the answer 🙂

https://www.youtube.com/watch?v=vv1RUpgodoE

v-yueyunzh-msft
Community Support
Community Support

Hi, @amabrenda1986 

Accoding to your description, you want to "make arrows automatically red when less than 0 and green when greater than 0 or blue when no changes at all.".

Here are the steps you can refer to :

(1)We can just create another measure like this:

Color Measure = SWITCH(TRUE(),
Intakes[Intake Variance %]<0, "green",
Intakes[Intake Variance %]>0, "blue",
BLANK()
)

 

(2)Then we can put this measure on your [Intake Arrows]'s conditional format:

vyueyunzhmsft_0-1693792422862.pngvyueyunzhmsft_1-1693792437161.png

 

Then we can get the result as follows:

vyueyunzhmsft_2-1693792451243.png

 

For more information , you can refer to :
#02 Dynamically Change Colors with Dax in PowerBI Part 1 - Bing video

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

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thank you but it did not work on card, because I do not have the options in your screen shot on mine 

Hi, @amabrenda1986 

You can configure the color measure here :

vyueyunzhmsft_0-1693882721029.pngvyueyunzhmsft_1-1693882732525.png

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

parry2k
Super User
Super User

@amabrenda1986 check this post Solved: UNICHAR: Green Up-arrow and Red Down-arrow - Microsoft Fabric Community



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.