Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Fabric Community site will be in read-only mode on Monday, Feb 24 from 12:01 AM to 8 AM PST for scheduled upgrades.

Reply
Rio007
Helper I
Helper I

Marking data from previous week to be labelled carry over if they are still pending in current week

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.

 

Rio007_0-1651168905140.png

 

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.

1 REPLY 1
Anonymous
Not applicable

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 )
)

vpollymsft_0-1651472039793.png

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.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.