The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I'm trying to show on a graph the number of documents of my database.
When i have 0 documents i can't see reflected in the graph, however i can see it in a table object.
What i'm doing wrong?
Best regards,
Ricardo Perfeito
By default, Power BI visuals (like bar/line charts) only plot existing data points. If your fact table doesn’t have a row for “0 documents,” nothing shows up.
Fix options:
Use a Date/Category dimension table with all possible values, then relate it to your fact table → chart will show zeros too.
In DAX, wrap your measure with COALESCE([Documents], 0) or IF(ISBLANK([Documents]), 0, [Documents]) so missing values appear as 0.
Turn on Show items with no data (Visual → Axis field → right-click → Show items with no data).
👉 That way your chart will display 0 instead of skipping categories.
But don't you agree that you need to see the zero values?
It can be imporant to analyze our company information, right?
This "feature" caused all my reports to stop function after I have put a lot of effort in building them.
I deliverately join my data sources with time-series that generates zero value in order to have a graph that shows the time continuously (e.g. if you measure the number of requests that arrive your server per hour, you will see hours that had no reuqest).
The "show empty value" doesn't show the zeroes. So I'm stuck without a solution.
I wish you were more considerable to your users and develop new features that allow users to choose if they want to use them or not.
User | Count |
---|---|
69 | |
69 | |
66 | |
54 | |
28 |
User | Count |
---|---|
112 | |
82 | |
66 | |
48 | |
43 |