Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi everyone, could you help me with this?
I created a measure to display the start date depending on the end date selected in the filter, and the period selected on my slicer (1 month, 3 months, etc). Both start date and end date are always end of month from my calendar table.
My dax formula for end date: SELECTEDVALUE(DIM_Calendar[End of Month])
when the end date filter is 31 August 2024, my measure correctly displays the start date as 29 Feb 2024 (yellow highlighted):
But when I selected my end date as 30 Sept 2024, my measure stopped working.
Does any one know how I could fix it? Should I not use dateadd as the formula?
Thank you in advance!!!
Solved! Go to Solution.
Try
Start Date = EOMONTH( [End Date], -6 )
where [End Date] is your existing end date measure.
Hi Johnt75, this solution works! Thank you very much for your help.
Try
Start Date = EOMONTH( [End Date], -6 )
where [End Date] is your existing end date measure.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
59 | |
57 |