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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello Team,
Hope you are fine.
I am having an issue to add a filter on the below formula:
Solved! Go to Solution.
Hi,
I assume the customer number is Number-formatted
Please try the below whether it suits your requirement.
ND_calc NEW =
IF (
ISFILTERED ( Sales_main[Description2] ),
COUNTROWS (
FILTER (
VALUES ( Sales_main[Sell_to_Customer_No] ),
NOT ( Sales_main[Sell_to_Customer_No] IN { 99997, 99998, 99999 } )
&& CALCULATE ( SUM ( Sales_main[BundleSalesQuantity] ) ) > 0
)
)
)
Hi,
I assume the customer number is Number-formatted
Please try the below whether it suits your requirement.
ND_calc NEW =
IF (
ISFILTERED ( Sales_main[Description2] ),
COUNTROWS (
FILTER (
VALUES ( Sales_main[Sell_to_Customer_No] ),
NOT ( Sales_main[Sell_to_Customer_No] IN { 99997, 99998, 99999 } )
&& CALCULATE ( SUM ( Sales_main[BundleSalesQuantity] ) ) > 0
)
)
)