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.
Hi,
I am new to Power BI. I am trying to create a DAX to select the date of alternative Thursdays. Could you please help me to solve the problem?
For Example:
From the above figure, I want to select only alternate Thursdays as shown below. Appreciate your help.
1/3/2019
1/17/2019
1/31/2019
2/14/2019
2/28/2019
3/14/2019
3/28/2019
4/11/2019
4/25/2019
Sample Date data from January through March
1/1/2019 |
1/2/2019 |
1/3/2019 |
1/4/2019 |
1/5/2019 |
1/6/2019 |
1/7/2019 |
1/8/2019 |
1/9/2019 |
1/10/2019 |
1/11/2019 |
1/12/2019 |
1/13/2019 |
1/14/2019 |
1/15/2019 |
1/16/2019 |
1/17/2019 |
1/18/2019 |
1/19/2019 |
1/20/2019 |
1/21/2019 |
1/22/2019 |
1/23/2019 |
1/24/2019 |
1/25/2019 |
1/26/2019 |
1/27/2019 |
1/28/2019 |
1/29/2019 |
1/30/2019 |
1/31/2019 |
2/1/2019 |
2/2/2019 |
2/3/2019 |
2/4/2019 |
2/5/2019 |
2/6/2019 |
2/7/2019 |
2/8/2019 |
2/9/2019 |
2/10/2019 |
2/11/2019 |
2/12/2019 |
2/13/2019 |
2/14/2019 |
2/15/2019 |
2/16/2019 |
2/17/2019 |
2/18/2019 |
2/19/2019 |
2/20/2019 |
2/21/2019 |
2/22/2019 |
2/23/2019 |
2/24/2019 |
2/25/2019 |
2/26/2019 |
2/27/2019 |
2/28/2019 |
2/1/2019 |
2/8/2019 |
2/15/2019 |
2/22/2019 |
2/2/2019 |
2/9/2019 |
2/16/2019 |
2/23/2019 |
3/1/2019 |
3/2/2019 |
3/3/2019 |
3/4/2019 |
3/5/2019 |
3/6/2019 |
3/7/2019 |
3/8/2019 |
3/9/2019 |
3/10/2019 |
3/11/2019 |
3/12/2019 |
3/13/2019 |
3/14/2019 |
3/15/2019 |
3/16/2019 |
3/17/2019 |
3/18/2019 |
3/19/2019 |
3/20/2019 |
3/21/2019 |
3/22/2019 |
3/23/2019 |
3/24/2019 |
3/25/2019 |
3/26/2019 |
3/27/2019 |
3/28/2019 |
3/29/2019 |
3/30/2019 |
3/31/2019 |
Solved! Go to Solution.
See attached file. Created 4 calculated columns:
Week = WEEKNUM([Date]) Weekday = WEEKDAY([Date],1) IsThursday = IF([Weekday] = 5,TRUE(),FALSE()) IsSelectedThursday = IF([IsThursday],IF(MOD([Week],2)=1,TRUE(),FALSE()),FALSE())
See attached file. Created 4 calculated columns:
Week = WEEKNUM([Date]) Weekday = WEEKDAY([Date],1) IsThursday = IF([Weekday] = 5,TRUE(),FALSE()) IsSelectedThursday = IF([IsThursday],IF(MOD([Week],2)=1,TRUE(),FALSE()),FALSE())
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 |
---|---|
14 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |