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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
IgorM
Frequent Visitor

Denormalization - Power Query or Source

Hi,

 

I have a general question on data denormalization. I have a model that is almost entirely based on data coming from a single ERP system. In my model I have a wide FACT table with ledger transactions (retrieved from the ERP using a SQL that joins data from multiple tables). I will also need to add to the model DIMENSION tables such as: Ledger accounts, cost centres, projects, etc.

What's the best approach here - is it better to adjust the SQL query for the FACT table so that includes all the necessary data and then normalize it in Power Query or is it better to retrieve all DIMENSION tables using seperate SQL calls to the database? Is there some rule of thumb for this or is it a matter of trial and error?

 

Kind regards

Igor

1 REPLY 1
amitchandak
Super User
Super User

Are you are planning to direct query, then make sure everything is a well place in start schema(Prefer) .

If not prefer to bring data in Star Schema. If for some reason you can not. First, try to correct it in Edit Query mode and then in Data model view.

Refer

https://docs.microsoft.com/en-us/power-bi/guidance/

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.