cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_Hasan
Helper II
Helper II

All month by a particular year in a table

Hello, I want to show this table like April-2005, May-2005...... How to do that? 

 

Capture.JPG

1 ACCEPTED SOLUTION
speedramps
Super User
Super User

Create a calandar table in Power Query with

 

  • Date (contiguous dd/mm/yyyy from 01/01/2005 to 31/12/2014)
  • Month year (month & "-" year eg April-2004, August-2005)
  • Month year sort(Month number & "."  & year eg 01.2005, 02/2005

 

Filter just top row

In Data modeller click on Month year and sort by Month year sort

 

Delete filter on top row (so all rows are shown)

 

Drag month year to visual table and it will display in the desired sequence

 

Please click thumbs up and acept as solutiion button 😀

 

Watch these free videos for more help about calendars

Click here for videos 

 

 

 

 

 

View solution in original post

2 REPLIES 2
Alex_Hasan
Helper II
Helper II

It worked. Thank you so much 😀

speedramps
Super User
Super User

Create a calandar table in Power Query with

 

  • Date (contiguous dd/mm/yyyy from 01/01/2005 to 31/12/2014)
  • Month year (month & "-" year eg April-2004, August-2005)
  • Month year sort(Month number & "."  & year eg 01.2005, 02/2005

 

Filter just top row

In Data modeller click on Month year and sort by Month year sort

 

Delete filter on top row (so all rows are shown)

 

Drag month year to visual table and it will display in the desired sequence

 

Please click thumbs up and acept as solutiion button 😀

 

Watch these free videos for more help about calendars

Click here for videos 

 

 

 

 

 

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

Power BI Dev Camp Session 25 with aka link 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, August 25 at 11a PDT for a great session with Ted Pattison!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors