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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Working with hundreds of millions

Hello tod@s,

I have a historical file in SQL with hundreds of millions of rows and I need to query four fields in that file.

It is necessary to consult the entire file because the traceability of a product has been needed for years (since 2017) to export the resulting table to excel with all the fields of that file.

I imported it with Direct Query but each query takes minutes.

Any idea how you could do this without it taking so long?

Thank you very much in advance.

3 REPLIES 3
v-rongtiep-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

Reports based on a DirectQuery dataset can be optimized in many ways.

Please refer to the following document for detailed information.

https://docs.microsoft.com/en-us/power-bi/guidance/directquery-model-guidance#optimize-report-design...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards

Community Support Team _ Polly

 

Greg_Deckler
Super User
Super User

@Syndicate_Admin Have you tried import mode?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hello

I don't know if you mean importing the table of hundreds of gigabytes to the model?. Or do you tell me about something else? Thank you

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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