Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I am trying to create a bar chart and split the bars into different colors by the ID#. The X axis has the date, and for the y axis I used - countrows('SupplierTable'). To split the bars by ID - I put the ID in the Legend field. However, when I enable the data labels, Power BI assigns the total (e.g. 11) to all 4 "sections" - and the total becomes 44 instead of 11. What am I doing wrong? The only difference between the two graphs below is that I added the ID field as a Legend so I'm not sure why the total goes up! I'd really appreciate any help!
Hi @newpbiuser01 , Looks like you don't have a relationship between the ID, Supplier count, or Date. You see the same value repeating like this when there's a missing relationship.
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships
If you require more assistance please post more information about how your data is structured or a sample pbix.
If this answer solves your problem please mark it as a solution!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 124 | |
| 105 | |
| 44 | |
| 32 | |
| 24 |