Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
74 | |
69 | |
47 | |
41 |
User | Count |
---|---|
63 | |
42 | |
30 | |
29 | |
28 |