cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ashley_khor Frequent Visitor
Frequent Visitor

How to group by dates in PowerBI?

Hi all,

 

I am wondering how to use PowerBI to group the dates? I am looking to show a weekly dashboard. 

 

This is the original data

 

Grouping by Dates.JPG

 

Based on that, I want to PowerBI to automatically create a column next to my data that looks like this:

 

Grouping by Dates end result.JPG

 

This shows that between specific dates, I can catogorise them as 'week 1', 'week 2' etc. I want to be able to do that quickly and find a way to automate the process instead of going through the data and manually labelling them with respective weeks. 

 

Thanks!

 

Ashley

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to group by dates in PowerBI?

@ashley_khor week 1 and week 2 etc.. are these year week number, if yes, you can use weeknum function to create this column






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

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

1 REPLY 1
Super User
Super User

Re: How to group by dates in PowerBI?

@ashley_khor week 1 and week 2 etc.. are these year week number, if yes, you can use weeknum function to create this column






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

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)