Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi Community, I have a scenario in a particular calculation, where if there is a multiple selection in the slicer then the calculation should show the desired result, if the value is in single selection the value should show as "Zero".
Suppose A, B and C are values are there is a drop down slicer for A, B and C. If I just only a single value from Type in the slicer dorpdown then the result should show as "0", if there is multiple selection it should show the actual result.
Solved! Go to Solution.
@Anonymous , use hasonevalue
if(isfiltered(Table[Type]) && HASONEVALUE(Table[Type]) , 0, sum(Table[result]))
refer: https://www.youtube.com/watch?v=hXg3kRFSGjA
@Anonymous , use hasonevalue
if(isfiltered(Table[Type]) && HASONEVALUE(Table[Type]) , 0, sum(Table[result]))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!