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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello Team,
I am working with my calendar table and I need to enter the maximum day worked per month. I integrated a holiday data table in my data model and with that I get the Wordays column this month, but I am having a problem adding a column with the maximum day per month.
thank a lot!
[Monthly Max Business Day] = // calculated column
var CurrentMonth = T[Month]
var CurrentYear = T[Year]
var MonthlyMaxBusinessDay =
MAXX(
filter(
T,
T[Month] = CurrentMonth
&& T[Year] = CurrentYear
&& T[Business Day] = 1
),
T[Date]
)
return
MonthlyMaxBusinessDay