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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Combine Multiple Months data in Power Bi

Hi Team, I have data for years on months wise so how to combine years wise data in power BI. Please find below 2 screen shots from Power BI and Excel

Narayana7481_0-1638781410552.png

 

Excel,

Narayana7481_1-1638781445062.png

 

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, here's my solution.

1.Select the columns from 2017/1/1 to 2017/12/1, the click unpivot columns.

vkalyjmsft_0-1639043965385.png

vkalyjmsft_3-1639044016559.png

2.Get three columns.

vkalyjmsft_2-1639043965389.png

3.Created a year column.

Year = YEAR('Table'[Date])
4.Create a matrix visual, put Sales Person ID in rows, put Date and Year in columns and Value in values, then turn on the drill button.
vkalyjmsft_4-1639044957962.png

5.Click drill down, then get the total value by year.

vkalyjmsft_5-1639045138673.png

I attach my sample below for reference.

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, here's my solution.

1.Select the columns from 2017/1/1 to 2017/12/1, the click unpivot columns.

vkalyjmsft_0-1639043965385.png

vkalyjmsft_3-1639044016559.png

2.Get three columns.

vkalyjmsft_2-1639043965389.png

3.Created a year column.

Year = YEAR('Table'[Date])
4.Create a matrix visual, put Sales Person ID in rows, put Date and Year in columns and Value in values, then turn on the drill button.
vkalyjmsft_4-1639044957962.png

5.Click drill down, then get the total value by year.

vkalyjmsft_5-1639045138673.png

I attach my sample below for reference.

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , In Power bi, either use the date hierarchy, option after dragging a date in visual. Right click date hierarchy .

 

Or in your table or date table create month year and use that

 

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak , i tried this way but it's not merging all the rows

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors