Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear all,
I have 2 Tables [Customer] and [Sales] and I try to count how many customer do we lost with the conditions below :
Customers which ordered between 2016-10-01[A] to 2017-09-30[C] and for those what was the sales between 2017-07-01[B] to 2017-09-30[C].
I try this formula in dax but it returns blank.
Relation is done between Customer and sales on the fields [CUST]
VAR IDRESULT = CALCULATE(DISTINCTCOUNT(Customer[CUST]);FILTER(Customer;Customer[LAST SALES]>=[A]&&Customer[LAST SALES]<=[C]);FILTER(Sales;Sales[Period_date]>=[B]&&Sales[Period_date]<=[C]))
Thanks for the one who can help.
Novice
Hi @novicenovice,
You can not filter the result between two tables directly. You could create relationship between two tables and create a calcultted column using the RELATED function. Kindly share your sample data to me so that I can help with that. You can upload your file to dorpbox and share the link here.
Regards,
Frank
Hi @novicenovice,
Has your issue been solved? If any other question, feel free to let me know please.
Regards,
Frank
User | Count |
---|---|
117 | |
74 | |
62 | |
50 | |
45 |
User | Count |
---|---|
174 | |
125 | |
60 | |
60 | |
57 |