Forum Discussion
Anonymous
5 years agoNot applicable
Represent null data as zero in line chart
Hello, I'm building a line chart that represents the evolution of the count of some Value (y axis) depending on levels. As you can see: - The x axis starts in February 2021, with Value=3 in...
Greg_Deckler
Community Champion
5 years agoAnonymous Not sure why the +0 is not working. You might try something like:
Value =
VAR __Value = SUM('Table'[Column])
RETURN
IF(ISBLANK(__Value),0,__Value)
Perhaps turn on "show items with no data"?
Not really enough information to go on otherwise, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.