Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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))
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
19 | |
14 | |
11 |
User | Count |
---|---|
43 | |
35 | |
25 | |
22 | |
22 |