Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi Guyss,
I want to show the zero value in line graph. Don't want the power bi to treat zero/null as blank.
I have created a measure and using that measure in line graph with months on x-axis.
Please help me out.
Thanks
Garima
@Anonymous
@Anonymous You can replace Null value with 0 then it will popoulate o in chart . Give a try n let me know.
@Anonymous , You can add +0 to measure, That will show as blank.
OR Use this option when you want range display to be corrected
0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
This solution in not working @amitchandak
Still the months having zero value in measure are not being shown in the graph.
Please help.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 24 | |
| 24 | |
| 19 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 16 |