Forum Discussion
Generate Dates
- 6 years ago
Please try these two measure expressions
Current Week = var thisday = TODAY()return thisday - WEEKDAY(thisday) +1 & " - " & thisdayPrevious Week = var thisday = TODAY()return thisday - WEEKDAY(thisday) -6 & " - " & thisday-WEEKDAY(thisday)If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
- Anonymous6 years ago
Thanks for your response but your solution is not clear. I'm not sure what I'm suppose to be looking a but this is what I'm seeing below. Please clarify.
Current Week = var thisday = TODAY()return thisday - WEEKDAY(thisday) +1 & " - " & thisdayPrevious Week = var thisday = TODAY()return thisday - WEEKDAY(thisday) -6 & " - " & thisday-WEEKDAY(thisday)
Thanks for your response but your solution is not clear. I'm not sure what I'm suppose to be looking a but this is what I'm seeing below. Please clarify.
You would use these two measures each in their own Card visual, to show in text the week to date and previous week ranges. I thought that was what you were looking for. If not, please clarify.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat