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
IgorCanabarro
Regular Visitor

SQL table buffer

Hello, I am having difficult to set up a buffer to a merged table from SQL server. The table has more than 600k lines and  I need to merge info with a csv table I work on.

 

I have tried the following:

= Table.NestedJoin(#"Tipo Alterado", {"ID Fluig"}, Table.Buffer(TPRODUTO), {"CODIGOAUXILIAR"}, "TPRODUTO", JoinKind.LeftOuter)

 

when I do it my Power BI freezes, and I need to reset.

 

Can you help me understand what I am doing wrong?

1 ACCEPTED SOLUTION
ImkeF
Super User
Super User

Hi @IgorCanabarro ,

a buffer won't help you for that, because it would drag the data anyway once your refresh the pbix (or in the service).

If your SQL has different refresh intervals than the csv and your SQL-table is filtered, then moving to a dataflow for your SQL import could improve. But not sure with your table length. You can set a different schedule there and then import it to PBI to merge with the CSV.
Do your sources live in in the cloud already? Then moving everything to a dataflow could also be a solution, especially if limited resources on your PC or slow internet connection are the reason for slow refresh.

 

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

3 REPLIES 3
ImkeF
Super User
Super User

Hi @IgorCanabarro ,

a buffer won't help you for that, because it would drag the data anyway once your refresh the pbix (or in the service).

If your SQL has different refresh intervals than the csv and your SQL-table is filtered, then moving to a dataflow for your SQL import could improve. But not sure with your table length. You can set a different schedule there and then import it to PBI to merge with the CSV.
Do your sources live in in the cloud already? Then moving everything to a dataflow could also be a solution, especially if limited resources on your PC or slow internet connection are the reason for slow refresh.

 

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

ImkeF
Super User
Super User

Hi @IgorCanabarro ,
why do you want to use a buffer and which table to you want to buffer: The SQL or csv?

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Hi @ImkeF ! I want to buffer the SQL table because this is getting too much time when I need to update Power BI.

 

The SQL table difficultly gets new data, but my CSV is being updated every day, and need to complement information from the SQL table.

 

Thanks

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.

Top Solution Authors