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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors