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
Hi Experts
Getting blank() error in my card visual if nothing is selected in either teh Region and or Area Slicer how can i amend the measure to return back total result
measure
Solved! Go to Solution.
Hi @Invesco ,
You can also try the following dax:
Accounts Reached =
VAR _Overall = DIVIDE([Shingrix],[Practices],0)
VAR _Step1 = CALCULATE(DISTINCTCOUNT('dev_shc_shingrix_activity'[P Name]), FILTER(ALLSELECTED('dev_shc_shingrix_activity'),'dev_shc_shingrix_activity'[Region]=MAX('dev_shc_shingrix_activity'[Region]) &&
'dev_shc_shingrix_activity'[Area]=MAX('dev_shc_shingrix_activity'[Area]) &&
'dev_shc_shingrix_activity'[product_name] ="Shingrix"))
Return
IF( HASONEVALUE('dev_shc_shingrix_activity'[Region])&&HASONEVALUE('dev_shc_shingrix_activity'[Area]),
_Step1, _Overall)
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Invesco ,
You can also try the following dax:
Accounts Reached =
VAR _Overall = DIVIDE([Shingrix],[Practices],0)
VAR _Step1 = CALCULATE(DISTINCTCOUNT('dev_shc_shingrix_activity'[P Name]), FILTER(ALLSELECTED('dev_shc_shingrix_activity'),'dev_shc_shingrix_activity'[Region]=MAX('dev_shc_shingrix_activity'[Region]) &&
'dev_shc_shingrix_activity'[Area]=MAX('dev_shc_shingrix_activity'[Area]) &&
'dev_shc_shingrix_activity'[product_name] ="Shingrix"))
Return
IF( HASONEVALUE('dev_shc_shingrix_activity'[Region])&&HASONEVALUE('dev_shc_shingrix_activity'[Area]),
_Step1, _Overall)
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Invesco ,
I think you are getting blank because of max & all selected function,
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.