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.
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
)
)
)
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |