March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I need to create a measure to store the beginning of -6 months from today for comparrision. If it is 14th June 2023 today, then it should give me 1st of December 2022. Can someone please help?
I am looking for something like the one below but this does not work.
STARTOFMONTH(DATEADD(TODAY(), -6, MONTH))
Thanks.
Solved! Go to Solution.
@armchairexpert Try:
Measure =
VAR __EOMonth = EOMONTH( TODAY(), -6 )
VAR __Return = DATE( YEAR( __EOMonth ), MONTH( __EOMonth ), 1 )
RETURN
__Return
@armchairexpert Try:
Measure =
VAR __EOMonth = EOMONTH( TODAY(), -6 )
VAR __Return = DATE( YEAR( __EOMonth ), MONTH( __EOMonth ), 1 )
RETURN
__Return
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |