Forum Discussion
Active ProductPath for each customer
Hey all,
I need some help with an "ActiveProductPath", hopefully someone can help me.
I want for each customer the path of the active products, see attachment,
https://www.dropbox.com/s/1jfqupyrfdwks3t/Dummy-file%20ActiveProductPath.xlsx?dl=0
For example customer 1 have bought 4 products in 2019.
On 01-04-2019 was only product A active, on 01-07-2019 also product A, on 01-10-2019 the products B and C were active and on 01-01-2020 is product D active.
The endresult on 01-04-2019 should be:
| Customer | ActiveProductPath |
| 1 | A |
| 2 | E |
| 3 | H,I |
| 4 |
Can someone help me?
Thanks in advance!
Greetings from The Netherlands,
Cor
Hi corvada,
I change something in the data model based on your requirement , you could refer to my sample to see whether it work or not.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
9 Replies
- daxCommunity Support
Hi corvada,
I think the Month in column should be continuous, you could refer to my sample for details.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Excellent solution Zoe Zhi, thank you very much!!
Last part of the challenge:
For every customer I want for each ref Ref_Date’[FullDate] the ActiveProductPath in a table in Power Query so I can use a slicer and count the customers who had a certain ActiveProductPath.
In the end I want an answer for the question: “how many customers have ActiveProductPath “x” on a certain day?”
Can you help me with the last part of the solution?Thanks in advance!
- AnonymousNot applicable
I've made another dummyfile, https://www.dropbox.com/s/cjkjr4b5184v2y6/Dummy-file%20ActiveProductPathv2.xlsx?dl=0
and https://www.dropbox.com/s/1828euve4n17gry/ActiveProductPathv2.pbix?dl=0
Hopefully you will understand what I mean.
I want to count each ActiveProductsPath for each date.
The result should be:
Date A B C A, B1-4-2019 2 1 1-7-2019 1 1 1 1-10-2019 2 1-1-2020 1 2 Can someone help me?