Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Want to show a single column of (B) Implied Closing Rate by weekly trend when it's latest 2 weeks (WkFlag=0 and -1) then show (B) Implied Close Rate, otherwise show (A) Closing Rate
(A) Closing Rate = Booked/Quoted
(B) Implied Closing Rate = Only happen on last 2 Weeks. Calculation = Closing Rate Average of the Previous 2 Weeks
Sample Implied Calculation :-
Wk5 (WkFlag -1) =AVERAGE(18.52%,19.39%)=18.96%
Wk6 (WkFlag 0) =AVERAGE(19.39%,18.96%)=19.17%
@luvnet18 , In your date or week table can you create a rank column
Week Rank = RANKX(all('Date'),'Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX(all('Date'),'Date'[Year Week],,ASC,Dense) //YYYYWW format
Then you can deal with a week like
This Week = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Last Week = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))
Last year Week= CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=(max('Date'[Week Rank]) -52)))
Last 2 weeks = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]>=max('Date'[Week Rank])-2 && 'Date'[Week Rank]<=max('Date'[Week Rank])))
Also check my detailed blog on this
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
I already have a field WkFlag=0 Last Week and WkFlag=-1 as the 2nd last week.
However, I need a formula to Calculate Implied Closing Rate for WkFlag=0 and WkFlag=-1 using Average Closing Rate of the previous 2 weeks
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |