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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jimpatel
Post Patron
Post Patron

date add

Hi,

 

Thanks for looking at my post.

 

I have below formula and can anyone help me to modify this to add 2 days on top of this please?

 

 Date = SWITCH(TRUE(),
         WEEKDAY( 'Table'[ReceiptDate] + 1,1) = 7 , 'Table'[ReceiptDate] + 3, 'Table'[ReceiptDate] + 0
)
1 ACCEPTED SOLUTION
Elcin_7
Helper I
Helper I

Hi,
 
Date  = SWITCH(
            TRUE(),
            WEEKDAY'Table'[ReceiptDate] + 1,1) = 7 , 'Table'[ReceiptDate] + 3+2'Table'[ReceiptDate] + 0+2
)
 
another version
 
Date  = SWITCH(
            TRUE(),
            WEEKDAY'Table'[ReceiptDate] + 1,1) = 7 , 'Table'[ReceiptDate] +5'Table'[ReceiptDate] + 2
)
 
I hope, I understood the requirement correct.

View solution in original post

2 REPLIES 2
jimpatel
Post Patron
Post Patron

Perfect

 

Thanks a lot 

Elcin_7
Helper I
Helper I

Hi,
 
Date  = SWITCH(
            TRUE(),
            WEEKDAY'Table'[ReceiptDate] + 1,1) = 7 , 'Table'[ReceiptDate] + 3+2'Table'[ReceiptDate] + 0+2
)
 
another version
 
Date  = SWITCH(
            TRUE(),
            WEEKDAY'Table'[ReceiptDate] + 1,1) = 7 , 'Table'[ReceiptDate] +5'Table'[ReceiptDate] + 2
)
 
I hope, I understood the requirement correct.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.