Forum Discussion
count values in a table and include zero when ID doesn't exist
- 4 years ago
Try adding a +0 to your exisitng COUNTA measure.
It will turn a blank into a 0. Alternatively if you click the down arrow for ID in the visual you can click Show Items with no data (won't get zero's jut blanks):
I've tried +0 and there's no change but that could be the result of other formula elements in the real measure. The visual I'm using doesn't include a show items with no data.
Let me go back to the real data and see whether I can figure out something else.
Hello Scott_Visio
I agree with bcdobbs. It also might be you're pulling the department table ID instead of the ID from the ID table into the visual? I'd made that mistake when duplicating your data 🙂
Once I pulled the right ID column I got the correct results
Hope that helps!
James