Veja se ajuda
Calendar =
ADDCOLUMNS (
CALENDARAUTO (),
"WeekDayName", FORMAT ( [Date], "dddd" ),
"LastDateSaturday",
MAXX (
FILTER (
CALENDARAUTO (),
MONTH ( [Date] ) = MONTH ( EARLIER ( [Date] ) )
&& WEEKDAY ( [Date] ) = 7
),
[Date]
)
)
------------------------------
Vilmar Santos
------------------------------
Original Message:
Sent: Jan 20, 2023 09:03 AM
From: Gregory Gue
Subject: MTD - Custom Fiscal Month last Saturday of the month
Hi,
the fiscal month in our company is a that ends on the last saturday of each month.
It is not a standard calendar month.
I am looking for a DAX formula that can do that calculation for a slicer.
Any help or direction would be greatly appreciated.
------------------------------
Gregory Gue
Business Intelligence Analyst
------------------------------