Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Dealing with blank/null values in Dynamic Decomposition Trees

 
1 ACCEPTED SOLUTION
TheoC
Super User
Super User

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 🙂 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

2 REPLIES 2
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.

TheoC
Super User
Super User

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 🙂 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors