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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Reducing/grouping/binning time series data

Hi folks. I'm just starting out with Power BI, and have what I think should be a simple problem. I've tried some googling, and all the suggestions seem to me to be more complex than they should be. I'm wondering if I'm missing something obvious.

 

I have a bunch of time series data, with data points every 15 minutes. I'd like to reduce the memory load and speed things up by grouping the time series into hourly bins. This should make my dataset 25% the length that it was previously.

 

What is the best way to do this? Does it happen at the import stage, or later on? Any tips or links to relevant tutorial videos would be greatly appreciated.

 

Cheers, Eddie

1 ACCEPTED SOLUTION

@Anonymous aggregating is totally different concept. 1.2 mil rows is not much, and also it is import and your users will not feel any performance hit because it is not direct query. There is no need of groupby as it is not going to help in anything



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

6 REPLIES 6
parry2k
Super User
Super User

@Anonymous I would recommend to do it at import stage, if you data source is sql , you can group it at hourly basis before importing. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k, and if it is a CSV? 🙂

@Anonymous well in that case you have to upload full csv and then it does't matter bin at hours or minutes, you can use groupby in power query to reduce number of rows but you have to import all the rows at first stage. GroupBy is expensive query thou and not sure if you really want to use it. Also depends how many records you are importing 1 million, 20 million, 100K



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Ok, interesting. While googling, I came across the topic of 'Aggregating'. Is that relevant here at all? It sounded sort of like what I was interested in, especially when they spoke about improving performance.

 

My CSV data has 1.5M rows. If I use GroupBy, will it speed up the refresh rate for viewers on the online dashboards?

@Anonymous aggregating is totally different concept. 1.2 mil rows is not much, and also it is import and your users will not feel any performance hit because it is not direct query. There is no need of groupby as it is not going to help in anything



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks for your help. 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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