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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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.
EricHulshof
Solution Sage
Solution Sage

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.


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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