Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have working on a dashboard which has 3 key cards at the top for the end-users to have some information:
The data uploads occur every monday and thursday. Is there a way of creating a measure or calculated column to automatically tell the end-user when the next upload will occur based on today's date?
Thanks
Solved! Go to Solution.
Hi @KikiLondon ,
Please try following DAX:
Next upload date = SWITCH(
TRUE(),
WEEKDAY(TODAY(),2) = 1, TODAY()+3,
WEEKDAY(TODAY(),2) = 2, TODAY()+2,
WEEKDAY(TODAY(),2) = 3, TODAY()+1,
WEEKDAY(TODAY(),2) = 4, TODAY()+4,
WEEKDAY(TODAY(),2) = 5, TODAY()+3,
WEEKDAY(TODAY(),2) = 6, TODAY()+2,
WEEKDAY(TODAY(),2) = 7, TODAY()+1
)
You get the 'next upload date' automatically:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @KikiLondon ,
Please try following DAX:
Next upload date = SWITCH(
TRUE(),
WEEKDAY(TODAY(),2) = 1, TODAY()+3,
WEEKDAY(TODAY(),2) = 2, TODAY()+2,
WEEKDAY(TODAY(),2) = 3, TODAY()+1,
WEEKDAY(TODAY(),2) = 4, TODAY()+4,
WEEKDAY(TODAY(),2) = 5, TODAY()+3,
WEEKDAY(TODAY(),2) = 6, TODAY()+2,
WEEKDAY(TODAY(),2) = 7, TODAY()+1
)
You get the 'next upload date' automatically:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |