Forum Discussion
Alltasks_Chris
4 years agoFrequent Visitor
Visualise a List or Column style result
Can anyone tell me what this means: I'm trying to see if a measure I made even works but I can't figure out how to visualize it - here's my measure: ThisWeekDays = ...
- Anonymous4 years ago
Hi Alltasks_Chris ,
What you need to create is a calculated table not a measure, since the result will return multiple values....
Best Regards
technolog
Super User
4 years agoI think that you should use MAX function
ThisWeekDays =
VAR TodayNo = WEEKDAY(TODAY(), 3)
VAR StartOfWeek = TODAY() - TodayNo
VAR weekdays = DATESBETWEEN(MAX('Calendar'[Date]), StartOfWeek, TODAY())
RETURN weekdays
Alltasks_Chris
4 years agoFrequent Visitor
Thanks but MAX doesn't work in that context the first argument for DATESBETWEEN is the column containing the dates https://docs.microsoft.com/en-us/dax/datesbetween-function-dax