Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi!
I have created a stacked bar-chart and when adding a Date-variable on the Axis and a measure on the Values it gives the correct output. Once I add a legend the output gives the wrong values. I have no filter enabled other than Year = 2019 and Month = July-December.
The chart without adding a legend (correct values):
The chart with a legend:
So, the only differences between the two charts above are the legend added.
I hope someone can help!
Thanks! 🙂
// BR
Solved! Go to Solution.
I found the solution:
For some reason the stacked bar chart can maximum display 58 different types of the legend. This means, that when I look at legends more than 58 types it chooses itself which to display.
Therefore, I added a filter to display only the top 58 filters by the measure used.
@Xilitor , I doubt join of legend with table or formula using some calculation on the legend
This is how it's connected:
Sorry for the blurring - I am using customer data.
I found the solution:
For some reason the stacked bar chart can maximum display 58 different types of the legend. This means, that when I look at legends more than 58 types it chooses itself which to display.
Therefore, I added a filter to display only the top 58 filters by the measure used.
I just using all 3 variables from the same table and I still experience the same problem. So it cannot be regarding the relationships. And I have done no calculations for any of variables for this chart. Could it be because of a back-end problem then?
The legend detects the right number in a table but not in the chart.
E.g. selecting the legend in a table with the highest value doesn't highlight in the bar:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |