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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
kjani
Helper I
Helper I

Build the model using sample data

I want to build a Power BI report and need to connect to two databases. The connections are very slow and it's difficult to play with the data. I would like to get a sample of the data, build the report and then connect to live databases. What's the best way to accomplish this? Is there a way to import a sanpshot of data from SQL Server database? I am not in IT, so need help how do I build the report first using small set of data and then scale. Thanks in advance.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@kjani ,

Avoid by directional join, prefer star schema 

you need to check with sql profile

https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages

 

Query reduction

https://www.youtube.com/watch?v=4kVw0eaz5Ws

 

Try composite model

https://community.powerbi.com/t5/MBAS-Gallery/Aggregation-and-composite-model-Microsoft-Power-BI-fas...

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@kjani ,

Avoid by directional join, prefer star schema 

you need to check with sql profile

https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages

 

Query reduction

https://www.youtube.com/watch?v=4kVw0eaz5Ws

 

Try composite model

https://community.powerbi.com/t5/MBAS-Gallery/Aggregation-and-composite-model-Microsoft-Power-BI-fas...

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
mahoneypat
Microsoft Employee
Microsoft Employee

Here is a tip that may help.  Make your queries, and in one of the first steps add a Keep Rows step and keep 100,1000, or whatever you think is representative.  You can build out your model, make measures/visuals, etc.  When you are done, just delete the Keep Rows step to load all the data.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.