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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Solved! Go to Solution.
Put the measure in visual level filter and filter it to is greater than 500
Hi @OneWithQuestion,
You can also use dax formula to add condition to filter the measure:
For example:
Old measure
SubTotal =
var currProduct=LASTNONBLANK(Sheet3[Product],Sheet3[Product])
return
SUMX(FILTER(ALL(Sheet3),Sheet3[Product]=currProduct),Sheet3[Sales Amount])
Modified:
SubTotal =
var currProduct=LASTNONBLANK(Sheet3[Product],Sheet3[Product])
return
SUMX(FILTER(ALL(Sheet3),Sheet3[Product]=currProduct&&Sheet3[Sales Amount]>500),Sheet3[Sales Amount])
In addition, Vvelarde's point also works, but if you use the "all" filter in your measure, you should use "allselect" to replace it.
Regards,
Xiaoxin Sheng
Hi @OneWithQuestion,
You can also use dax formula to add condition to filter the measure:
For example:
Old measure
SubTotal =
var currProduct=LASTNONBLANK(Sheet3[Product],Sheet3[Product])
return
SUMX(FILTER(ALL(Sheet3),Sheet3[Product]=currProduct),Sheet3[Sales Amount])
Modified:
SubTotal =
var currProduct=LASTNONBLANK(Sheet3[Product],Sheet3[Product])
return
SUMX(FILTER(ALL(Sheet3),Sheet3[Product]=currProduct&&Sheet3[Sales Amount]>500),Sheet3[Sales Amount])
In addition, Vvelarde's point also works, but if you use the "all" filter in your measure, you should use "allselect" to replace it.
Regards,
Xiaoxin Sheng
Put the measure in visual level filter and filter it to is greater than 500