Forum Discussion
Anonymous
8 years agoNot applicable
Table shows no data with 0
Hi all, I'm having a trouble with the table that I'm using in my report. The data that I received is the following: There is also a 'Person D' wich has no active devices on his name...
- 8 years ago
Anonymous,
You may refer to the following DAX that creates a new table.
Table = SUMMARIZECOLUMNS ( Table1[Agent Name], "Count", CALCULATE ( DISTINCTCOUNT ( Table2[Active Devices] ), FILTER ( Table2, Table2[Agent Name] = MAX ( Table1[Agent Name] ) ) ) + 0 )
jthomson
Solution Sage
8 years agoTry creating a measure that counts the instances of each agent you have and stick +0 on the end of it?
- Anonymous8 years agoNot applicable
Can you be my guidance for this?
- jthomson8 years ago
Solution Sage
I've just seen this as a work around for a few things where a visual shows as blank - I assume you've got your agents in some sort of related table to the data you displayed, if you look up how the countrows function works and run that across your data that should be a starting point
- vanessafvg8 years ago
Community Champion
measure = if(isblank(measure, 0, sum(measure))
or + 0 on the end