Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
Am trying to do a call conversion, that checks if the customer did a purchase 10 days after making a call, the measure is somehow not working well on power bi nor SSAS, someone kindly help me out on that.
=if(ISBLANK(COUNTROWS((FILTER(FILTER(CustomerTransactionsView, CustomerTransactionsView[MobileNo] = Interactions_MobileNo[PhoneNumber]), (CustomerTransactionsView[TransactionDate] >= (Interactions_MobileNo[CreatedOn] && (CustomerTransactionsView[TransactionDate]< DATEADD(Interactions_MobileNo[CreatedOn],10,DAY)) )))), "NO", "YES")))
Solved! Go to Solution.
Hi @Dee ,
Please have a try. If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
= IF ( ISBLANK ( COUNTROWS ( FILTER ( CustomerTransactionsView, CustomerTransactionsView[MobileNo] = Interactions_MobileNo[PhoneNumber] && CustomerTransactionsView[TransactionDate] >= Interactions_MobileNo[CreatedOn] && CustomerTransactionsView[TransactionDate] < ( Interactions_MobileNo[CreatedOn] - 10 ) ) ) ), "NO", "YES" )
Hi @Dee ,
Please have a try. If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
= IF ( ISBLANK ( COUNTROWS ( FILTER ( CustomerTransactionsView, CustomerTransactionsView[MobileNo] = Interactions_MobileNo[PhoneNumber] && CustomerTransactionsView[TransactionDate] >= Interactions_MobileNo[CreatedOn] && CustomerTransactionsView[TransactionDate] < ( Interactions_MobileNo[CreatedOn] - 10 ) ) ) ), "NO", "YES" )
can you share some data and what your data looks like?
Proud to be a Super User!
The data roughly looks like this.
Table = Customer Transaction View
Column = MOBILE NO
Value 557689321
Table = Interaction Mobile no
Column = phone no
Value 557689321
Table = Customer Transaction View
Column = transaction date
Value 5/2/2017
Table = Interaction Mobile no
Column = created on
Value 4/19/2017
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |