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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
TLDR:
I need to make a line graph that filters out the legend if the record's total is 0, but I still want 0s to show for records that don't total to 0. I assume it will need a virtual table, but I am new to this subject and struggling to piece it together.
Okay, so I have two tables that I need to count the rows in, so I have this measure:
There is no Art Work at all for the time period selected, but it still shows up in this graph. It also isn't showing other higher defect details like Missing Print has 9 in March 2025, but I assume that's due to 375 defect details trying to be in a legend on this graph lol...)
When I filter out when Count > 0, I lose my continous lines across the graph and the x-axis skips months without defect details (note Feb 2025 is missing below), but the graph becomes accurate again at least..
But instead it keeps graphing this table:
And when I use the filter panel to show items when the value is greater than 0, it takes out the 0s of the top graph.. So how do I essentially filter out defect details if the total is 0 over the whole graph but keep the 0s for the defect details that have more than 1 count in the graph?
I've tried quite a few different calculate and fitler combos with all and all selected, everything has the same effect 😞
Thanks,
Abbey
Sure! Here is a snipet of my dataset: https://docs.google.com/spreadsheets/d/1PivKeHkDNb_wHpgjr0oPf2u46jIQzk9w3LwfcOVIOzY/edit?usp=sharing
The goal is when I use a slicer to only show the Defect Type of Print Quality (also a bridge table), it will show this graph:
but instead, it is showing up like this:
Since I'm using two bridge tables (one for Defect Type and one for Defect Details), it doesn't know that Not Sealed and Paper Wrinkles don't have anything to do with Print Quality. Sorry, I guess I forgot to mention the second bridge table in the original post...
But that's why using the filter panel to only show records with a Count greater than 0 works to filter out the Defect Details that are not actually associated for this Defect Type, but I am looking for a way to keep the line graph showing the 0s for those that have at least one record in the time frame (aka still showing their 0s and not being scattered dots - my boss doesn't like it without the lines.)
Thank you so much for your help!
Hi @AbigailCole ,
Thank you for reaching out to the Microsoft Community Forum.
I have raised access request to access the dataset, that you have provided. Could you please approve the access request to dataset?, to work on the solution.
Regards,
Dinesh