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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Triangle icon in card visualization

Hi, 

 

I have a single data point which I have visualized in card visualization as in picture. Besides the value, I want to have a red or green triangle icon based on a condition. I can create a measure which returns trinagles but cannot relate that to this card. Can I get help on that?

Thanks in advance!

triangles.pngdata card.PNG

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can use UNICHAR to work on it. Here I have created a measure as below.

Measure 4 = IF(SUM('Table'[value])>10,UNICHAR(9650),UNICHAR(128315))

Capture.PNG

 

By default, the arrow is black rather than green as we required. There is no green up arrow in Unicode so we’ll need to change the font color of the arrow in Power BI to green.

2.PNG

 

For more details, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can use UNICHAR to work on it. Here I have created a measure as below.

Measure 4 = IF(SUM('Table'[value])>10,UNICHAR(9650),UNICHAR(128315))

Capture.PNG

 

By default, the arrow is black rather than green as we required. There is no green up arrow in Unicode so we’ll need to change the font color of the arrow in Power BI to green.

2.PNG

 

For more details, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

In the measure for the arrows you have to create and if statement checking the card visual's value. Then decide if it has to be green or red. 

To help writing that statement we need more information about what is inside the card visual, what is the current measure and how does the data structure look.

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!

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!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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