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.
Thank You in advance for Your help. Please see pics. I'm trying to counts item from previous week, which are still pending in the current week as carry over. as seen in the pic Apr13 as nothing pending, then I should not get any carry over for the following of april 2nd which april 9. but here I get some data(6) which is not correct.
Here the Dax formula I used
Carry Over =
VAR MaxDate = MAX (Week[Date] )
RETURN
CALCULATE( [Pending Tasks],
FILTER( ALL ( Week[Date] ) , Week[Date] = MaxDate - 7 )
).
Thank You very much for Your help.
Hi @Rio007 ,
Please refer to my pbix file to see if it helps you.
Modify the Dax formula you used.
Carry Over =
VAR MaxDate = MAX ('Table'[date])
RETURN
CALCULATE( [Measure],
FILTER( ALL ('Table'[date] ) ,'Table'[date] >= MaxDate - 7 )
)
If I have misunderstood your meaning, please provide your pbix file without privacy information and your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |