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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I have sample data of a superstore and I want to filter orders which have quantity>5, I tried to do a formula like this
Solved! Go to Solution.
@Giada_Togliatti , Create a measure like this. Use it in card visual or with order number/ID on other visuals
calculate(countrows(Orders), FILTER(Orders; Orders[Quantity]>5))
Filter return table not a value
Hi,
Can you tell us more about your expectation as a final result.
A list of order, counting them, make a sum of their total amount ?
For a list use a CALCULATETABLE function, or a CALCULATE if you want a single result (COUNT, SUM...)
Hope it helps
@Giada_Togliatti , Create a measure like this. Use it in card visual or with order number/ID on other visuals
calculate(countrows(Orders), FILTER(Orders; Orders[Quantity]>5))
Filter return table not a value
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.