I tried using inscope function, hasonevalue functions , but not able to stop the drill down if there are blanks in the subsequent levels.
When filter is applied using these functions, it is affecting the entire visual.
We noticed that your inquiry was left unsolved for quite some time now. We strive to answer ALL inquiries in the forum. However, if you are sure that you provided all pertinent context to your concerns and read how to use the forum more effectively and still find your question unanswered, you can check out tutorials to learn this yourself as your membership also comes with relevant resources that may help you with your Power BI education.
While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done. Thank you!
I can give you the way to look for the desire result you want to achieve you can use below dax to get the desire result i put one check you need to check for all the level
If i understand your problem statement you want to hide those category or subcatgeory which are blank right then you should check in your measure the same will provide you the pbix where i implemented the above dax for your reference if i am understanding your problem correctly let me know i can provide you full solution also sample.pbix (33.4 KB)
I just filter out blank through Appling filter on the visual because on your condition any sub category can be blank so we need to remove blank from visual so i used the filter option here .
Hi @Anu - First thing, Power BI don’t consider them as Blank() but empty strings. First need to convert all Blank fields to null using Replace function in Power Query. Done in the attached sample file.
Once done, You may try below formula to get the desired results.