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.
I have a scenario where i need to show a column chart, where the x-axis has the number of times a customer has purchased (from 1 to 50). The y-axis shows the number of customers falling into each purchase frequency category, mostly buying only once and a few buying 50 times. The dataset has customers over a period of time (several years) and i need to show the change of the number of customers based on the number of times they purchased, for different periods (for example between 2015 to 2020, or 2018 to 2019, and 2020 only). I've tried a strategy in which to make a new table with a single column of data, with number ranging from 1 to 50, and used it as x-axis in the chart. I then tried to join this table with summarised number of customers based on the times of purchase, but the two tables simply could not join, and then when i got them to join, the result failed to show scalar number. Any help is appreciated.
Solved! Go to Solution.
@YongJiang , seem like you are lloking for dynamic segmentation
refer
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
If not, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@YongJiang , seem like you are lloking for dynamic segmentation
refer
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
If not, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thank you amichantank for pointing out 'dynamic segmentation'!
It was great help to see the web links, and with the keywords above I also found a recent article by Radacad
https://radacad.com/customers-grouped-by-the-count-of-their-orders-dynamic-segmentation-in-power-bi-..., which provided info on what exactly i wanted.
thank you and have a nice day!
Yong
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 |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |