Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to set a specific day in my date column. I created a custom column based off of a date column called "First Detected" where I want to add one month and then set the day of the date to always be the 3rd of the month. I was able to easily figure out how to set the month with the following formula
= Table.AddColumn(#"Added Custom", "Reported", each Date.AddMonths([First Detected],1))
but cannot figure out how to always set the day to be the 3rd of the month. Any help is appreciated.
Solved! Go to Solution.
@kjenki , Try like this
= Table.AddColumn(#"Added Custom", "Reported", each Date.AddDays(Date.EndOfMonth(Date.AddMonths([First Detected],-1)),3))
@kjenki , Try like this
= Table.AddColumn(#"Added Custom", "Reported", each Date.AddDays(Date.EndOfMonth(Date.AddMonths([First Detected],-1)),3))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |