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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
narchans4u
Frequent Visitor

aggregate the data to the month/quarter level

Hi,

I have a dataset which has rows at day level(one row for one day) - and thus my power bi workbook is of ~1GB (i have imported data from DB). Is it possible to aggregate the data to the month/quarter level so that I can reduce my the size of the power bi workbook? With tableau background - when I try to extract data of tableau workbook i have an option to define the granularity - by aggregating the data for visible dimensions(roll up dates to: year/qtr/month). Is there any option in PBI similar to this?

Much thanks.

1 ACCEPTED SOLUTION
dearwatson
Continued Contributor
Continued Contributor

The Query editor has a Group By function to roll up rows to other levels of granularity if you need it...

 

I would add a new column which gets the start of the month (New Column -> Date-> Start of Month) then group by that column as required.

 

I think that should do it.


Cheers

Greg

View solution in original post

5 REPLIES 5
dearwatson
Continued Contributor
Continued Contributor

The Query editor has a Group By function to roll up rows to other levels of granularity if you need it...

 

I would add a new column which gets the start of the month (New Column -> Date-> Start of Month) then group by that column as required.

 

I think that should do it.


Cheers

Greg

This worked. Thank you.

Hi guys,

 

Quick question. Can you let me know how I can use the same method if I have different years? 

If I group by on month level I use the year information. Is there any way to group by on Month&Year level.

 

many thanks,

Bahar

Hi,

 

I have a dataset which has rows at day level(one row for one day) - and thus my power bi workbook is of ~1GB. Is it possible to aggregate the data to the month/quarter level so that I can reduce my the size of the power bi workbook?

With tableau background - when I try to extract data of tableau workbook i have an option to define the granularity - by aggregating the data for visible dimensions(roll up dates to: year/qtr/month).

Is there any option in PBI similar to this?

Much thanks.

 

Thanks for your reply. Is this going to reduce the over all size of the PBI workbook? I am trying hands on now.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.