Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I was given this DAX formula in my last post to calculate Working Days, I now need a new DAX formula for Working Days for Same Period Last Year but when I try to add this function SAMEPERIODLASTYEAR to the existing one it keeps erroring, below is my current one for Work Day:
Work Day =
COUNTROWS(
FILTER(
ADDCOLUMNS(CALENDAR(Min(Dates[Date]),Max(Dates[Date])),"WorkDay",
IF(
WEEKDAY([Date],2) < 6,1,0
)
),
[WorkDay] =1
)
) + 0
Hi @AvPowerBI ,
Please try the following measure:
Working Days for Same Period Last Year = CALCULATE ( [Work Day], SAMEPERIODLASTYEAR ( Dates[Date] ) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anyone ideas on this one? Or is it not possible?
User | Count |
---|---|
80 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
97 | |
88 | |
81 | |
61 |