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! I am trying to cummulate my sales from the most sold to the least sold product for a selected period having a data Table with this structure: --> Date, Product, Sales
Hi @alexrf86 ,
Can you show some sample data and expected result to us?
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-jayw-msft ! Thanks for your answer.
My database contains a table with the following data:
Date | Prod | Sales |
01/01/2020 | k2 | 3 |
01/01/2020 | a1 | 4 |
01/01/2020 | b5 | 10 |
02/01/2020 | k2 | 1 |
02/01/2020 | a1 | 2 |
02/01/2020 | b5 | 3 |
03/01/2020 | k2 | 2 |
03/01/2020 | a1 | 3 |
03/01/2020 | b5 | 4 |
I want to build up a table with Product and cummulative Sales from most sold product to least sold product and using date as a filter. For instance, selecting a date filter period from 01/01/2020 to 02/01/2020 my product sales would be:
k2 | 4 |
b5 | 13 |
a1 | 6 |
So the desire result is:
b5 | 13 |
a1 | 19 |
k2 | 23 |
I used to cummulate sales without date dimension, so this measure used to work:
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 |
---|---|
95 | |
94 | |
79 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |