Forum Discussion
BI Measure
- 2 years ago
Good morning Thunders,
We need more details for the Quota, is it always 2500 ? or it's change by month ?Why you choose r
You can for exemple use something like that :
__Mesure =
Var Total = CALCULATE(SUM(Quota), ALL(Dates) // it will calculate all total of the quota
Var Aggre = CALCULATE(SUM(Sales), Dates[Month] >= EOMONTH(MAX('Dates'[Month]), -3) //Calculate the sum of every 3 last months
RETURN DIVIDE(Aggre, Total)
Hi MrBrownn,
The 2500 is the monthly qouta, does not change.
Hi, I think I can help with this, but I need to ask a few questions to clarify, because the solution will be different depending how you answer.
1. Do you use a date table?
2. If you do, is it financial year based, starting on April?
3. Do you have data only for these 12 months?
4. Will there be more data coming in, for different years?
Also, MrBrownn, correct me if I'm mistaken, but the question is asking for a running total divided by the total budget. So it won't be the last 3 months every time, but all the previous ones.
- Thunders2 years agoFrequent Visitor
1. Do you use a date table? Yes
2. If you do, is it financial year based, starting on April? Yes
3. Do you have data only for these 12 months? Yes
4. Will there be more data coming in, for different years? It will be a 100% new project.
Thank you