Forum Discussion
Anonymous
2 years agoNot applicable
Display Data with no Values
Hi everyone, I am stuck at this Power BI issue from a long time and any help would be much appreciated. So I have a dataset with Department, ID, Year and Status.(Dummy tableis attached below) ...
- Anonymous2 years ago
Hi Anonymous ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
1.Create a calculate table
Table 2 = VALUES('Table'[Department])2.Create a measure
Count of ID = IF( COUNT('Table'[Department]) = BLANK(), 0, COUNT('Table'[Department]) )3.Create relationship between two tables
3.Create a matrix using Table2[Department] as column and measure as value
4.Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
gadielsolis
2 years agoResolver III
Hello, you can create the following measure
IDCount=Countrows(Sheet1)+0
then the matrix will show 0 for the values without data, in case you want to show this as blanks you can use a conditional formatting for the 0s.
- Anonymous2 years agoNot applicable
Hi gadielsolis,
I am using this formula:
CountID = COUNT(Sheet1[ID]) + 0But it doesn't change anything.