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.
Hello,
I have a standard CalendarAuto table linked with my data set. I am trying to get a "previous period" card set up using the following code:
Start Previous Period =
Dates[End Previous Period]-Dates[Days in Period]
I need to then round this start date to the begining of the month, ie if the return is 3 may, i need the return to be 1 may. Is there any way to do this? I tried using STARTOFMONTH however it does not allow me to do this as the calculation is not a column.
Thank you in advance
Solved! Go to Solution.
use the EOMONTH(dateValue, -1) + 1
That EOMONTH will return the last day of the previous month, and then you can +1 to get the 1st day of the original dateValue
use the EOMONTH(dateValue, -1) + 1
That EOMONTH will return the last day of the previous month, and then you can +1 to get the 1st day of the original dateValue
Thank you, this is exactly what i was looking for! much appreciated.
User | Count |
---|---|
85 | |
84 | |
67 | |
61 | |
56 |
User | Count |
---|---|
137 | |
110 | |
92 | |
84 | |
69 |