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
DimaGer
Frequent Visitor

Handle Big csv DataFile

Hi guys, 

 

I have a 2GB csv file.

It consists of two columns, products (text) and product group (text). There are about 60 product groups and they can contain up to 20 million unique products.

1) I would like to separate the products per product group into separate tables or simply
2) get a table which shows about 10 random products per product group. I would then export these to a file.

 

Can someone give me a tip, I fail already with the representation of e.g. the first 10 products per group in a visual, to export them now in a separe Table.

 

Thanks a lot

 

4 REPLIES 4
Anonymous
Not applicable

Hi @DimaGer ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

Best Regards

Anonymous
Not applicable

Hi @DimaGer ,

Do you ultimately want to create reports in Power BI? If so, given the large amount of data you have, importing it directly into Power BI may cause problems. Also, there is a limit on the size of the dataset when uploading to Power BI Service.

Maximum dataset sizeMaximum dataset size

You may consider reducing the size of the csv file first as much as possible(for example: delete the unnecessary columns, blank rows etc.). Then import it into Power BI and create a slicer and a table visual to achieve your two needs. I created a sample file, you can see the attachment for more details.

yingyinr_1-1639645716896.png

Otherwise, why don't you handle it inside Excel directly?

Best Regards

amitchandak
Super User
Super User

@DimaGer , Try a new table 

 


filter(
Addcolumns( Summarize(Table, Table[Product], Table[Product Group] , "_val", sum(Table[Value])) ,"_rank", rankx(filter(Table, [Product Group] = max([Product Group])), [_Val],,desc, dense)), [_rank] <=10)

 

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

@amitchandak 

 

sorry, dont get it. I am very new to Data and Power BI. i got the following Error Messag:

DimaGer_0-1639063553547.png

It says, "cant find Table with the Column [Group]". 

 

Maybe it helps by providing more details? 

I already loaded the csv File in Power BI Desktop. Now i see the Table which name is "Data" with its two columns Product and Group. 

 

Thanks 

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.