Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a column in my report which has date in it. I can extract Month Name from the column.
Is there any option where I can get the month and year together from this column? Like suppose I need a new column like Month'Year showing values like April'2021, May'2021 and so on in the column?
Or do I have to extract month name and year seperately and then combine them?
Regards,
Himanshu
Solved! Go to Solution.
Hi @Anonymous ,
You could use Date.ToText function to create a custom column.
https://docs.microsoft.com/en-us/powerquery-m/date-totext
Best Regards,
Jay
Hi @Anonymous ,
You can achieve this as below:
Click on your DATE column under FIELDS pane.
Under top ribbon, you will get the option to select required date format.
Thanks,
Pragati
@Pragati11 I actually want it in the power query only as I ned to create a custom column using that Month'Year Column.
What you've mentioned is completely right and I know it but i want it in the power query mode itself.
Hi @Anonymous ,
Add a custom column as follows in Power Query:
Date.ToText([YourDateColumn], "MMM-yyyy")
Thanks,
Pragati
I extracted individually and then merged. It solved my issue.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.