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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

adding icons to the bars in a bar chart to indicate greater or less than activity

Hello. I'm attempting to do something I've never done before. Adding arrows to indicate - or + growth on my bar chart.
What I'm trying to achieve is to take a bar chart and either add arrows to the bars, or superimpose them on top.
Basically from this

MRUry7_0-1710501441975.png

To something like this

MRUry7_1-1710501489491.png

First thought was placing arrows on top of each bar but of course if there are no entries, then the bars change size to compensate for the one that is no longer part of the chart.  Putting arrows on top of each bar would only work if there was a guarantee that every entry in the chart remained therre.

So has anyone done something like this? If so, how?

Thanks, Steve.


 



 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@Anonymous  Here's an example of how this could work. I wrote the below measure that includes UNICHAR characters for right and left arrows.

Gross Sales UNICHAR =

VAR _Right_Arrow =
    UNICHAR ( 129130 )
VAR _Left_Arrow =
    UNICHAR ( 129128 )
RETURN
    IF (
        SUMX(Sheet1, Sheet1[Gross Sales]) > 10000000,
        _Right_Arrow,
        _Left_Arrow
    )
Here's a site that includes a huge list of UNICHAR characters:
 

From there, I went to the chart's Data label formatting options, Detail section,
and added that measure to the Data well. Then I chose Inside end for the data label position.
 
I hope this helps!
 
bchager6_1-1710514754637.png

 


 

 

View solution in original post

Anonymous
Not applicable

@Anonymous  Go to the chart's Data label formatting options, Detail section, and add the measure to the Data well. I chose Inside end for the data label position.

bchager6_0-1711224117147.png

 

 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Thank you so much for helping me with this! i was able to complete this task, AND I never added anything to that section before, so i learned something!!!!
Thanks so much!

Anonymous
Not applicable

You're welcome, and yes, I don't think it's a very common step to take!

Anonymous
Not applicable

Thanks very much. My only question is where exactly does it go?
In the visual, I see the Bars/Data Labels/Value and color but not sure where to use the code you provided. 
Do I use it to replace the Color dropdown with the function button next to it?

Numb_Current is the fields showing the number of each metric within the bar chart

MRUry7_0-1711136729575.png MRUry7_0-1711114818065.png

 

 




Anonymous
Not applicable

@Anonymous  Go to the chart's Data label formatting options, Detail section, and add the measure to the Data well. I chose Inside end for the data label position.

bchager6_0-1711224117147.png

 

 

Anonymous
Not applicable

@Anonymous  Here's an example of how this could work. I wrote the below measure that includes UNICHAR characters for right and left arrows.

Gross Sales UNICHAR =

VAR _Right_Arrow =
    UNICHAR ( 129130 )
VAR _Left_Arrow =
    UNICHAR ( 129128 )
RETURN
    IF (
        SUMX(Sheet1, Sheet1[Gross Sales]) > 10000000,
        _Right_Arrow,
        _Left_Arrow
    )
Here's a site that includes a huge list of UNICHAR characters:
 

From there, I went to the chart's Data label formatting options, Detail section,
and added that measure to the Data well. Then I chose Inside end for the data label position.
 
I hope this helps!
 
bchager6_1-1710514754637.png

 


 

 

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.