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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
zervino
Frequent Visitor

Dynamic text box on top of column charts

I have a clustered column chart that shows data for two years (in blue and green) and each cluster corresponds to a different deparment.

 

Is there a way to add some kind of text box (or similar) on top of the bars indicating the delta between the two? I want to explicitely show the delta (and percentage) between the two years. (See below).

zervino_0-1708457727430.png

 

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @zervino ,

 

check this out https://youtu.be/RaHi6yc02Tc?si=7RKPn_w1lH21v86c

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

v-cgao-msft
Community Support
Community Support

Hi @zervino ,

I tried to make one with line and clustered bar charts.

vcgaomsft_0-1708588223279.png

vcgaomsft_1-1708588716384.png

Unfortunately it does not recognize line breaks. Please check the example file.

Diff = 
VAR _Diff = [YEAR2] - [YEAR1]
VAR _Rate = FORMAT( DIVIDE(_Diff,[YEAR1]),"Percent")
RETURN
_Diff & UNICHAR(10) & "(" & _Rate & ")"

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @zervino ,

I tried to make one with line and clustered bar charts.

vcgaomsft_0-1708588223279.png

vcgaomsft_1-1708588716384.png

Unfortunately it does not recognize line breaks. Please check the example file.

Diff = 
VAR _Diff = [YEAR2] - [YEAR1]
VAR _Rate = FORMAT( DIVIDE(_Diff,[YEAR1]),"Percent")
RETURN
_Diff & UNICHAR(10) & "(" & _Rate & ")"

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Idrissshatila
Super User
Super User

Hello @zervino ,

 

check this out https://youtu.be/RaHi6yc02Tc?si=7RKPn_w1lH21v86c

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors