This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello Community,
I'm new to Power BI and I have a question - I wish to filter out null values BUT ONLY for those product_ID s where there is no other string value than null. In other words, if a column contains null + other string when grouped by product_ID, then keep both null and other string values, if column grouped by the product_ID only cantains null, then I do not want to include such values. How to do that?
Solved! Go to Solution.
Hi @Anonymous
Where were you thinking of creating this?
As a calculated column you could do something like this:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Anonymous
we wanted to kindly follow up to check if the solution provided by our community member @SamWiseOwl helps you? If it is worked for you please Accept it as Solution or let us know if you need any further assistance here?
Your feedback is important to us, Looking forward to your response.
Thank You.
Do the above if you want to create the column in the front end.
If you want to use the query editor:
Merge the two tables together
Expand the arrows and aggregate the column with the nulls.
Tick both Count (All) and Count (Not Blank)
This will return the number of rows with and without empties.
Now if one is blank and the other isn't you can filter it.
Both these rows are NULLs
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Anonymous
Where were you thinking of creating this?
As a calculated column you could do something like this:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 28 | |
| 25 | |
| 22 | |
| 22 | |
| 20 |