Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two tables, many-one. I am counting instances in the many, in the one. It works, but for rows in the one, where there are no instances in the many, Power BI is REMOVING the row. I don't want this. I want the row to remain, and for the count to be ZERO.
Any ideas, or should I just bail on PBI and do this in a SQL View? (I would have been done with this in the time it took me to post this).
Solved! Go to Solution.
Hi @joglidden2 ,
Did want show items with no data. Please refer this article.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data
Or you can replace this result by a new measure.
Measure =
IF( ISBLANK( SUM( table[field] ) ), 0, SUM( table[field] ) )
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @joglidden2 ,
Did want show items with no data. Please refer this article.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data
Or you can replace this result by a new measure.
Measure =
IF( ISBLANK( SUM( table[field] ) ), 0, SUM( table[field] ) )
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ok, update on this one: by adding a duplicate row of the ID column, and then setting it to 'Count', I was able to get all the 'blank' rows back. Instead of a zero, they render blank for the count in many.
Then, go to field formatting, and make that new count column disappear. There's got to be a better way.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
103 | |
101 | |
87 | |
73 | |
67 |
User | Count |
---|---|
116 | |
109 | |
94 | |
79 | |
72 |