Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I create the following stacked bar chart (without adding Legend). I have made the position of Data Lables 'Outside end', but how to make the data labels really outside end (i.e. not interlace the end)?
I believe I've discovered a solution, specifically applicable to basic bar charts. Hope it helps.
1. Create a "Stacked bar chart" ; Note that the "Outside end" feature does not function flawlessly.
2. Create a measure with a value of zero.
3. Place the new measure on the X-axis -> Turn On "Total labels" ->Turn Off "Data labels". Refer to the highlighted sections below.
I have the same problem, it is very simple for PBI to implement something like adding some margin to the bar and label. Did you fix it?
You can increase space on the right by increase number of decimal places of your measure.
@VisheshRockStar this technique will only work if a number column is used on the x-axis. A good solution though but will not work in all cases.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi All,
You can fix this issue by creating the X axis maximum measure .This issue generally happens bz chart have lower magrin w.r.t the bars .
So create a measure which returns the max axis value and add some margin to it.
Ex- If max age is 60 in the chart and it is overlapping it. you can do in similar way
Measure= Max(Age)+5
Note-I have take 5 as a margin
And pull this measure in the X axis Maximum range.
Best Regard,
Vishesh
I am facing the same issue and definitely this is something to do with the code inbuilt with powerBI, im quite shocked no one else has sounded this out given how old PowerBI is
There two quick option I can think of now are
1. Increase the size of the graph a bit
2. Fix the X-axis values.(Start and End)
@amitchandak I can't use the X-axis values (Start and End) because the chart is dynamic according to the filters...
Hi @Anonymous,
Could you please try to complete the following steps(check below screenshot) to check if all data labels can display at the outside end?
Best Regards
Rena
@v-yiruan-msft thanks. but as mentioned, I can't use the X-axis values (Start and End) because the chart is dynamic according to the filters...
the values range could be from 1000 to 100M...
Hi @Anonymous ,
I'm sorry I still not find other way to achieve your needs. If can change the display position of the data label to another position(like inside center)?
Best Regards
Rena
@Anonymous I don;t think there is much available in this case. You can surely create matrix with databars and values in a seperate column. It can achieve what you are looking for.
May be add this as a suggestion on ideas forum.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
95 | |
86 | |
78 | |
66 |
User | Count |
---|---|
150 | |
118 | |
111 | |
106 | |
95 |