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
LinkeLoutjes
New Member

Set-Up star schema for performance

Hi,

 

I'm creating a DevOps dashboard (yes included report functions do not suffice) and seem to need to create a proper starschema. Therefore I'm downloading a "Stories - Weekly" and a "Features - Weekly" Analytics view. These I'd like to combine to create the model. Both will receive a weekly snapshot of the status. 

 

For performance, I'm thinking it's best to load as little data as possible. Right? So first choice:

1. Load both query's as a base for the fact. Then reference the query, filter to obtain the Story and Feature dimension?

2. Load both query's as a base. Then duplicate the query, filter to obtain the Story and Feature dimension. (To me the least likely)

3. Load both query's as a base. Then create a seperate query to an analytics view which only receives the dimension data. 

 

My thinking with reference would be that Power BI would only demand the data once, then needs computation to filter. The duplicate and seperate query option would demand more data. Whereas the seperate query would not need the computation of the reference option. Basically the optimum choice would be 1 or 3. If referencing still results in the query executing multiple times, option 3 would be best. 

 

What do you think?

2 REPLIES 2
amitchandak
Super User
Super User

@LinkeLoutjes , Both needs to be created as fact with common dimension

 

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

Power BI- Power Query create Star Schema from Single Table- https://youtu.be/-yDv6FD547o

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM

https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Thanks. Still wondering about referencing vs duplicating and whether to import the dimensions seperately. Any idea?

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.