Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Dealing with blank/null values in Dynamic Decomposition Trees

2 Replies

  • TheoC's avatar
    TheoC
    Community 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 🙂 

  • Anonymous's avatar
    Anonymous
    Not 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 _ Caitlyn

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.