In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

replication of formula from SAP BO Reports

Bart_Esz
6 - Meteoroid

Dear All,

 

I have to replicate a formula that is used in SAP BO Reports which returns a numeric value, the formula is given below. 

I was trying many different ways, but I'm not able to progress as I don't really understand some of the function nested in the maim formula.

A big request to that can give me some tips on how to solve it.

If you need any additional information, please let me know.

 

many thanks and regards

 

'=DaysBetween(RelativeDate([Created On Date];Floor(DayNumberOfWeek([Created On Date])/6)*(8-DayNumberOfWeek([Created On Date])));RelativeDate(CurrentDate();Floor(DayNumberOfWeek(CurrentDate())/6)*(8-DayNumberOfWeek(CurrentDate()))))-(Floor(DaysBetween(RelativeDate(RelativeDate([Created On Date];Floor(DayNumberOfWeek([Created On Date])/6)*(8-DayNumberOfWeek([Created On Date])));(DayNumberOfWeek(RelativeDate([Created On Date];Floor(DayNumberOfWeek([Created On Date])/6)*(8-DayNumberOfWeek([Created On Date]))))+1)*-1);RelativeDate(CurrentDate();Floor(DayNumberOfWeek(CurrentDate())/6)*(8-DayNumberOfWeek(CurrentDate()))))/7)*2)
1 REPLY 1
Luke_C
17 - Castor
17 - Castor

@Bart_Esz Can you give some sample data? Will be helpful to see the various fields used in the formula + expected results. 

Labels
Top Solution Authors