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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have created a DAX formula to calculate weekdays, excluding Sundays, Saturdays, and holidays. It is working fine for all the rows. However, I'm not sure why, but it is causing an issue for one specific record.
Solved! Go to Solution.
@Ethanhunt123 Hi! Try with:
CALCULATE (
COUNTROWS (
FILTER (
'Order create date',
WEEKDAY ( 'Order create date'[Order create date], 2 ) < 6 -- Exclude Saturdays (6) and Sundays (7)
&& 'Order create date'[Is holiday] = 0 -- Exclude holidays
&& 'Order create date'[Order create date] >= 'Sales order line'[Created date (weekday)] + 1
&& 'Order create date'[Order create date] <= 'Sales order line'[Ship date requested]
)
)
)
BBF
@Ethanhunt123 Hi! Try with:
CALCULATE (
COUNTROWS (
FILTER (
'Order create date',
WEEKDAY ( 'Order create date'[Order create date], 2 ) < 6 -- Exclude Saturdays (6) and Sundays (7)
&& 'Order create date'[Is holiday] = 0 -- Exclude holidays
&& 'Order create date'[Order create date] >= 'Sales order line'[Created date (weekday)] + 1
&& 'Order create date'[Order create date] <= 'Sales order line'[Ship date requested]
)
)
)
BBF
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |