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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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