Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Solved! Go to Solution.
Hi @Roxy_Kdk
Please try below code
IN is better, when you are using OR function
Weekend =
IF('Calendar'[Day Name] IN {"Sunday","Saturday"}
,"Y"
,"N")
or
Weekend =
IF('Calendar'[Day Name]="Sunday" || 'Calendar'[Day Name]="Saturday",
,"Y"
,"N")
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
Hello,
Try this where you replace // with || in the formula.
Weekend =
IF(
'Calendar'[Day Name] = "Sunday" || 'Calendar'[Day Name] = "Saturday",
"Y",
"N"
)
Hello,
Try this where you replace // with || in the formula.
Weekend =
IF(
'Calendar'[Day Name] = "Sunday" || 'Calendar'[Day Name] = "Saturday",
"Y",
"N"
)
Hi @Roxy_Kdk
Please try below code
IN is better, when you are using OR function
Weekend =
IF('Calendar'[Day Name] IN {"Sunday","Saturday"}
,"Y"
,"N")
or
Weekend =
IF('Calendar'[Day Name]="Sunday" || 'Calendar'[Day Name]="Saturday",
,"Y"
,"N")
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
It worked . Thanks!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 52 | |
| 39 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 94 | |
| 81 | |
| 34 | |
| 29 | |
| 25 |