Hi all
I had already written a T+2 expression but now I would like it to skip to Monday if the product of T+2 falls on Saturday and Tuesday if it falls on Sunday.
How should I rewrite the formula?
addDays(utcNow(),2,'dd-MM-yyyy')
Solved! Go to Solution.
figured it out
if(
equals(
dayofweek(
addDays(utcNow(),2)),
6),
addDays(utcNow(),4,'dd-MM-yyyy'),
if(
equals(
dayofweek(
addDays(utcNow(),2)
),
0),
addDays(utcNow(),4,'dd-MM-yyyy'),addDays(utcNow(),2,'dd-MM-yyyy'))
)
figured it out
if(
equals(
dayofweek(
addDays(utcNow(),2)),
6),
addDays(utcNow(),4,'dd-MM-yyyy'),
if(
equals(
dayofweek(
addDays(utcNow(),2)
),
0),
addDays(utcNow(),4,'dd-MM-yyyy'),addDays(utcNow(),2,'dd-MM-yyyy'))
)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
11 | |
9 | |
9 | |
6 |
User | Count |
---|---|
26 | |
20 | |
12 | |
8 | |
7 |