Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
10 |