Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have created 3 measures for calculating percentage for 3 different sentiments as below.
This seems to be working fine and in matrix I can show them as below
However this appears as 3 different columns, however I want to show it in a single column like below:
In a single bar I want to show positive,negative,neutral
Any help or guidance would be really appreciated
Solved! Go to Solution.
@Saswa_D just create this measure:
% of all selected =
DIVIDE(COUNT(Sentiment[overall sentiment]), CALCUALTE(COUNT(Sentiment[overall sentiment]), ALLSELECTED(Sentiment[overall sentiment]))
Put it in a stacked bar chart and the [overall sentiment] column in the lengend.
@Saswa_D just create this measure:
% of all selected =
DIVIDE(COUNT(Sentiment[overall sentiment]), CALCUALTE(COUNT(Sentiment[overall sentiment]), ALLSELECTED(Sentiment[overall sentiment]))
Put it in a stacked bar chart and the [overall sentiment] column in the lengend.
Thank You, this works as a separate visual but do we have any trick to make it work in matrix visual like for each row I can show a single bar in matrix or if in table visual.
Right now it shows up in 3 different columns in matrix visual
@Saswa_D the regular matrix / table can't do that. They have the sparkline feature but it's not that rich to be able to do a stacked bar chart with legend. Maybe there is a custom visual that does that, but not something I'm aware of.
That helps, Thank You very much. I would still accept the above stacked bar solution since it does our work though in separate visual
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
26 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
25 | |
16 | |
14 | |
13 |