Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi, recently I have a very complicate problem,
here is the data and relative slicers:
when I select values from slicer1, sum the value from cal1,
and when I select values from slicer2, sum the value from cal2,
when I select both slicer1 and slicer2, sum the value from cal1.
so how can I create such a calculation get the result value, do you have any good ideas?
Thank you.
Solved! Go to Solution.
@Anonymous , Isfiltered can help
Measure =
var _1 = calculate(isfiltered(Dim1[Col]), allselected())
var _2 = calculate(isfiltered(Dim2[Col]), allselected())
return
Switch(True(),
_1 && _2 , [Cal1] ,//assume cal1 and cal2 are measures
_1 , [Cal1] ,
_2 , [Cal2]
)
@Anonymous , Isfiltered can help
Measure =
var _1 = calculate(isfiltered(Dim1[Col]), allselected())
var _2 = calculate(isfiltered(Dim2[Col]), allselected())
return
Switch(True(),
_1 && _2 , [Cal1] ,//assume cal1 and cal2 are measures
_1 , [Cal1] ,
_2 , [Cal2]
)
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |