Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

How can I create a play axis by year and month

I have a dataset which has data from June 2022- Jan 2023 inclusive.

I want to have a play axis that starts from June and goes to January 2023. I created the axis by month and it starts at Jan and ends at dec and when I try by year it doesnt work either.

 

How Can I do that?

1 ACCEPTED SOLUTION

i did a test.

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

9 REPLIES 9
ryan_mayu
Super User
Super User

@Anonymous 

you need to create a column like 202206, 202207, 202208 and sort the column June 2022 by the new one

pls see the link below

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thank you - I created the column as you said, converted it to whole number and then tried to sort the date column by the new column created but it doesnt seem to be doing it. Have I missed a step? Unless I create the play axis by the colum which has the 202206, 202207 etc.

i did a test.

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu ,

I have similar issue where I want my play axis to begin at June2023 and end at March 2024 but I can not open your attchment to check the solution. Its giving me some credential error.

Can you please help.

 

Thanks

pls check if you can open this one





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks for sending this again, but I am still getting this error: "Failed to Decrypt Credentials: The data source credentials could not be decrypted. Please restart the program. If you continue to see this message, you can clear your credentials by clicking on the Clear Permissions button". I clicked that buttong but nothing happened.

pls try again





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

I see. Thats perfect, thank you!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.