Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
)
)
)
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!