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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mikebi
Helper III
Helper III

good resources for data prepping in SQL before Power BI

Hello,

When working on a large project I feel that there should be some data modelling ahead of Power Query in SQL.

As an example sometimes creating calculated fields, joins,  etc is easier and more efficient in SQL.

 

I also feel that data cam be filtered in SQL before PowerBI to reduce data load times.  As an example, let's say I only want to load 4 years of data.  It could be more efficient to create a view of 4 years of data vs bringing in all the data into Power Query and then filtereing.

 

Are there any resources on data prepping for PowerBI using SQL Server?

 

Thank You,

 

Michael

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @mikebi,

I'd like to suggest you turn on the advanced option on the data connector to use sql statement to pre-processing of the result or customize the result tables.

Import data from a database using native database query - Power Query | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @mikebi,

I'd like to suggest you turn on the advanced option on the data connector to use sql statement to pre-processing of the result or customize the result tables.

Import data from a database using native database query - Power Query | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello, 

Yes that is a great suggestion that I sometimes use.

 

Michael

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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