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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Group items by month number

Hello,

I have the following table in Power Query and i am trying to group the "Sold items" by month number. Any help is much appreciated!

 

Sold itemsDate
12601/06/2022
10827/06/2022
8707/09/2022
6911/08/2022
6708/10/2022
8420/09/2022
5727/09/2022
4610/11/2022
4702/09/2022
5309/10/2022
8115/10/2022
11817/09/2022
14206/10/2022
16523/11/2022
16702/12/2022

 

Expected results in Power Query:

Sold itemsMonth number
2346
698
3939
34310
21111
16712
1 ACCEPTED SOLUTION
vaibhavkale570
Resolver III
Resolver III

follow below steps

 

1.add new column for month no

add column>date>month>month

vaibhavkale570_0-1667673457500.png

 

 

2.selec and group by month no column

 

transform>group by 

vaibhavkale570_1-1667673572585.png

 

View solution in original post

1 REPLY 1
vaibhavkale570
Resolver III
Resolver III

follow below steps

 

1.add new column for month no

add column>date>month>month

vaibhavkale570_0-1667673457500.png

 

 

2.selec and group by month no column

 

transform>group by 

vaibhavkale570_1-1667673572585.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors