Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
I am having trouble figuring out how to get the right Holidays in my DAX Calender Table. I can get the Holidays just fine but can't figure out how to do this. I need to make the holidays actualy fall on Friday if the holiday was on Saturday or a Monday if the holiday was on a Sunday.
I was wonderng if anyone could help me out with this?
Thanks
Solved! Go to Solution.
Hi,
You can create a new calculated column name: "Revised Holiday" with formula:
Revised Holiday
= IF(WEEKDAY('Date'[Date],1) = 1,
NEXTDAY('Date'[Date]),
IF(WEEKDAY('Date'[Date],1) = 7,
PREVIOUSDAY('Date'[Date]),
'Date'[Date]))I hope this help.
Can you supply sample data on your holidays?
Here is a picture of the Holidays:
Hi,
You can create a new calculated column name: "Revised Holiday" with formula:
Revised Holiday
= IF(WEEKDAY('Date'[Date],1) = 1,
NEXTDAY('Date'[Date]),
IF(WEEKDAY('Date'[Date],1) = 7,
PREVIOUSDAY('Date'[Date]),
'Date'[Date]))I hope this help.
Thank you very much!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |