Forum Discussion
Dealing with blank/null values in Dynamic Decomposition Trees
Hi Anonymous, I am unsure how you have created your Parent Count measure, however, I recommend something of the following:
Measure:= COUNTROWS(CALCULATETABLE(Table, Table[Field]<> BLANK() && Table[Field]<>"#N/A"))
(note that the original solution can be found here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Exclude-quot-N-A-quot-OR-Blanks/td-p/805991)
You could adjust to suit your requirements, such as:
Measure:= COUNTROWS ( CALCULATETABLE ( Table , Table [Field] <> BLANK ())
Hope this helps 🙂
2 Replies
- TheoCCommunity Champion
Hi Anonymous, I am unsure how you have created your Parent Count measure, however, I recommend something of the following:
Measure:= COUNTROWS(CALCULATETABLE(Table, Table[Field]<> BLANK() && Table[Field]<>"#N/A"))
(note that the original solution can be found here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Exclude-quot-N-A-quot-OR-Blanks/td-p/805991)
You could adjust to suit your requirements, such as:
Measure:= COUNTROWS ( CALCULATETABLE ( Table , Table [Field] <> BLANK ())
Hope this helps 🙂
- AnonymousNot applicable
Hi Anonymous ,
Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thank you very much for your kind cooperation!
Hope it helps,
Community Support Team _ CaitlynIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.