Forum Discussion
Need Help
- 7 years ago
Hi Anonymous
Create measures
max period = CALCULATE(MAX(Table1[Period]),ALLEXCEPT(Table1,Table1[Quarter])) month plan = MAX([Year plan])/12 Quarter plan = [max period]*[month plan]
Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
I'm not sure how you want to use the maxinum, beucase I think you can put the quarter as dimension in table, and create a measure ( =max(period), then you can get the maxinum period by quarter I think.
Please try.
Aiolos Zhao
- Anonymous7 years agoNot applicable
Hi,
I want to calculate the QTD plan numbers for each quarter.
If I get the maximum period of the Quarter then i can calculate the plan numbers again each order.
Ex:
Yearly plan is 1000
monthly plan is 1000/12 = 83.33
so if I want to calculate the QTD value for Q1 = 3*83.33 = 250
Hope u can understand the scenario.
Regards
Swamy
- Anonymous7 years agoNot applicable
Hi Anonymous ,
So I assume that you already have a measure to get the result of monthly plan.
And if you want to create a table, then I think you just need to put the quarter into the table.
then create a measure like : a = max(period)
then create another measure like : b = a * your_monthly_plan
then put b into your table.
Please try.
Aiolos Zhao
- v-juanli-msft7 years agoCommunity Support
Hi Anonymous
Create measures
max period = CALCULATE(MAX(Table1[Period]),ALLEXCEPT(Table1,Table1[Quarter])) month plan = MAX([Year plan])/12 Quarter plan = [max period]*[month plan]
Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.