Forum Discussion
Anonymous
6 years agoNot applicable
ABC in Power BI DESKTOP
I have a calculated table only with 2 columns: Column A with 1000 different articles and column B with the sales of each one. I need to create one column with the cumulative of sales by article taking in account that some sales are the same for different articles. How can I do it?
After I have to create another column with the the cummulative of teh articles, I mean from 1 to 1000 in order to do the %
Thank if you can help
Anonymous , Both as new columns
Cumm sales = sumx(filter(Table,Table[Article] =earlier(Table[Article])),Table[Sales]) % = divide([Sales],[Cumm sales])
2 Replies
- amitchandak
Super User
Anonymous , Both as new columns
Cumm sales = sumx(filter(Table,Table[Article] =earlier(Table[Article])),Table[Sales]) % = divide([Sales],[Cumm sales]) - Greg_Deckler
Community Champion
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490