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.
Can anyone please advise on how to filter this column in Power Query so that it contains only the last date of each year?
So, this should contain only 3 rows:
Thank you!
Solved! Go to Solution.
Hi, @webportal
Create a secondary table
It must be noted that the data format of the date column cannot be text.
In order to test the correct logic, I changed the maximum date from December 31 to December 30
Sample:
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @webportal
Create a secondary table
It must be noted that the data format of the date column cannot be text.
In order to test the correct logic, I changed the maximum date from December 31 to December 30
Sample:
Result:
Please refer to the attachment below for details
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-angzheng-msft I think @webportal is looking for the last date in the year, not the last date used in the year
Hello, you could try the last day of year funtion in power query, on a duplicate of your table then remove duplicates on the column, that would leave you with just the last days of the year:
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 |
---|---|
97 | |
95 | |
77 | |
72 | |
65 |
User | Count |
---|---|
136 | |
109 | |
104 | |
82 | |
73 |