To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
How do i use DAX to take a column with a date in it and populate a column with a weekend date? I want to be able to filter my data which all has dates into weekends by date.
Solved! Go to Solution.
@rocciajb36 , you can create a column like this and use that
new column
weekday flag = if(WEEKDAY([Date],2) <6,1,0)
measure
calculate(sum(Table[Value]), filter('Date', 'Date'[weekday flag] =1))
@rocciajb36 , you can create a column like this and use that
new column
weekday flag = if(WEEKDAY([Date],2) <6,1,0)
measure
calculate(sum(Table[Value]), filter('Date', 'Date'[weekday flag] =1))
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |