Forum Discussion
Sum Sales for Rolling Companies Issue
Hi all,
In my company you can buy "online" and via "api".
For each month, we need to know how many companies have ordered via API within the last 18 months (rolling). So I have created this measure, which works fine:
rolling 18 api = CALCULATE(DISTINCTCOUNT(Company_APISales[CompanyId]),
How would I do this?
Thanks!
2 Replies
- MFelix
Super User
Hi Anonymous ,
Not really sure if I understand the calculation you need, I'm lost when you refer:
that the same months a company count in my "Rolling 18 months", the same months I would need to sum the "FullSales"
Do you want to calculate the values for the FullSales of the month that the company purchase trough API so basically with you example you will pick up only 2019 for the full sales instead of the 18 months?
Can you share a sample data and expected results please.
- v-easonf-msft
Community Support
Hi , Anonymous
Do you have resolved it? If yes, you could accept the helpful answer as solution. You also could share your own solution here. For now, there is no content of description in the thread. If you still need help, please share more details to us.
Best Regards,
Community Support Team _ Eason