Forum Discussion
Ciria
8 years agoAdvocate III
Cumulative Sales Without Dates on Rows
Dears :smileysad: These days I am working in building a table with manifolds KPI's to monitor sales evolution. Following Commercial Chief Officer's advices I'm creating two tables, one table lead...
- 8 years ago
Hi Ciria,
I created a solution based on your sample.
1. Add an index column in the table "Master_Item_all".
Index = mid([Family], 8, 3) // why 3? In case you have "Family 100"
2. Create a new measure.
Total Sales Cumulative = CALCULATE ( [Total Sales], FILTER ( ALL ( Master_Item_All ), Master_Item_All[Index] <= MAX ( Master_Item_All[Index] ) ) )Best Regards,
Dale
Ciria
8 years agoAdvocate III
Here the right link.
Yes you're right, you will see such approach in my file.
https://www.dropbox.com/s/88dtadb0s7m1hpd/Dummy%20Model.pbix?dl=0
I've added a second problem to this dummy file related with RANKX function, very interesting...
Kind regards,:smileyvery-happy:
v-jiascu-msft
8 years agoMicrosoft Employee
Hi Ciria,
1. The items of Family is still like "Family1, Family2". So I don't know how to add an index in another way.
2. I think accumulating data by other column has the similar solution like "by family".
Best Regards,
Dale