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 a table which I display as a matrix as below.
I would like the blanks to be 0's. I tried
Person Count = COUNT(Table1[Person])+0
as well as
Person Count = IF(ISBLANK(COUNT(Table1[Person])),0,COUNT(Table1[Person]))
I must be missing something obvious. Here is the pbix file. Thanks a lot!
Solved! Go to Solution.
Hi @michaelccdf,
The measure doesn't work because that there is no complete data for type and year.
1. Please create a calculated table with Values to get the Type.
Table = VALUES(Table1[Type])
2. Create the relationship between the two tables.
3. Create the matrix like below.
Person Count = COUNTROWS(Table1)+0
Then the measure could work.
Best Regards,
Cherry
Hi @michaelccdf,
The measure doesn't work because that there is no complete data for type and year.
1. Please create a calculated table with Values to get the Type.
Table = VALUES(Table1[Type])
2. Create the relationship between the two tables.
3. Create the matrix like below.
Person Count = COUNTROWS(Table1)+0
Then the measure could work.
Best Regards,
Cherry
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 |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |