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 have a column with dates of the format: 4/25/21. I want a new column that will calculate the first date of next month, no matter what day it is this month
I tried this code:
Solved! Go to Solution.
Hi, @Anonymous
Thank you for your feedback.
Yes, you can create that.
Jihwan Kim
If this post helps, then please consider accept it as the solution to help the other members find it more quickly.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @Anonymous
I am not sure about your table name and column name.
Please try something like below to make a calculated column.
Jihwan Kim
If this post helps, then please consider accept it as the solution to help the other members find it more quickly.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@Jihwan_Kim This works great, but I have noticed an issue in my logic. It will apply to any date, even past dates.
Is there any way to apply a filter on top of this EOMONTH to also filter any date out that is in the past? So for example, if date >=today, then EOMONTH('Calendar'[Date],0)+1?
i.e.
Hi, @Anonymous
Thank you for your feedback.
Yes, you can create that.
Jihwan Kim
If this post helps, then please consider accept it as the solution to help the other members find it more quickly.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |