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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am posting this question again (from last week's) because I thought I got the solution, but the issue is not resolved.
I am sharing my Pbix file here.
I am trying to display zero (goes down to zero level) when the count of client is zero / if there is no value.
During the month of June and July 2021, for these criteria (M*H*C* and Private), there is no data (blank value).
Bottom is screenshot of what we have now:
Bottom is expected result:
I tried with following chocies of measures (to have a line graph goes down to Zero), but nothing seems to work:
ClientD_M2 = COUNTX('vw_census_trend','vw_census_trend'[ClientID]) + 0
Solved! Go to Solution.
The reason that it's not showing 0 is that your rptDate doens't have those dates. With the help of your Date table, it should be possible, but you'd need to use the Date from your Date table. If you wanna filter by RptDate then you'd need to modify the relationship to "both" direction or use "CROSSFILTER" function in your count measure.
Hope that makes sense! Let me know if you have any questions!
The reason that it's not showing 0 is that your rptDate doens't have those dates. With the help of your Date table, it should be possible, but you'd need to use the Date from your Date table. If you wanna filter by RptDate then you'd need to modify the relationship to "both" direction or use "CROSSFILTER" function in your count measure.
Hope that makes sense! Let me know if you have any questions!