Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
A customer asked me to create a table that displays a variety of columns including one called recommendation. They mentioned that one group which I will call AAA does not do recommendations but still wants the data to be displayed with an NA next to the measure for that group. I spent some time adding ISBLANK, distinctcountblank etc and it isnt working which I know why, but need some help if anyone can throw their two cents in. Here is the DAX Measure that is working properly with the exception that it is distinctly counting blank measures for AAA. I need it to display NA for when AAA comes up, then function the way the measure is written when it doesnt. Thanks.
Solved! Go to Solution.
Try an if statement (or a switch function).
Measure = if(MAX(Table[Group])="AAA","NA",{whatever calculation you need when the group IS NOT AAA})
Try an if statement (or a switch function).
Measure = if(MAX(Table[Group])="AAA","NA",{whatever calculation you need when the group IS NOT AAA})
That worked. Thanks. Much appreciated.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.