Forum Discussion
90 days Utilization
hi Anonymous
I don't see any expected output in this excel file:
Please share your expected output in excel, that way, we will give you further help in power bi.
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
Regards,
Lin
- Anonymous6 years agoNot applicable
Hi v-lili6-msft
Sorry wrong fike postedAlso see the results below and there are graphs in file, i wish to be have same graph as well
Please help
- v-lili6-msft6 years agoCommunity Support
hi Anonymous
First, there is a mistake in your excel file.
=IF([@Day] = "Mon", [@WeekOf], IF([@Day] = "Tue", [@WeekOf]+1, IF([@Day] = "Wed", [@WeekOf]+2, IF([@Day] = "Thur", [@WeekOf]+3, [@WeekOf]+4))))
In your Day column, it is Thu not Thur.
please adjust it and refresh the excel file.
Second, then create a 90% Percentile (90 Days) column by this formula:
90% Percentile = var _90date=MINX(TOPN(91,FILTER(Table1,Table1[Actual Date]<EARLIER(Table1[Actual Date])),Table1[Actual Date],DESC),Table1[Actual Date]) return CALCULATE(AVERAGE(Table1[Avg Weekly]),FILTER(Table1,Table1[Actual Date]<EARLIER(Table1[Actual Date])&&Table1[Actual Date]>=_90date))*0.9Result:
and here is sample pbix file, please try it.
Regards,
Lin