Forum Discussion
Countdown timer for offer period
- 3 years ago
HI Anonymous
Do you just want to show the days left on that card (CountDown)?
You can use a measure like this:
Remained Days = DATEDIFF( DATE(2022,12,31), Today(), DAY)More info about this formula:
https://learn.microsoft.com/en-us/dax/datediff-function-dax?WT.mc_id=DP-MVP-5004936If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- 3 years ago
You can write some dax, change the intervals to hours, minutes, .... then you can format the output.
Check this blog post:
https://www.vahiddm.com/post/calculating-business-hours-in-power-bi-using-daxIf this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
HI Anonymous
Do you just want to show the days left on that card (CountDown)?
You can use a measure like this:
Remained Days = DATEDIFF( DATE(2022,12,31), Today(), DAY)
More info about this formula:
https://learn.microsoft.com/en-us/dax/datediff-function-dax?WT.mc_id=DP-MVP-5004936
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- Anonymous3 years agoNot applicable
hI VahidDM,
Thank you very much, this is exactly what i was looking for
double kudoz
regards,
dsmitha
- Anonymous3 years agoNot applicable
HI VahidDM,
Also, if you can help me
How can we show the count down hours / minutes / seconds
regards,
dsmitha
- VahidDM3 years agoSuper User
You can write some dax, change the intervals to hours, minutes, .... then you can format the output.
Check this blog post:
https://www.vahiddm.com/post/calculating-business-hours-in-power-bi-using-daxIf this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
- Anonymous3 years agoNot applicable
hi VahidDM,
Thank you so much for sharing the link, helped a lot
regards,
dsmitha