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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Benefit of using Reference Query

Hello,

 

I have seen in some of the demos the PBI expert uses a reference query to create dimension tables (example https://www.youtube.com/watch?v=4k73xCyki-k&t=1345s). The only benefit I know is that it makes the dimension tables dynamic. However what could be other benefits especially for performance. Also the below questions:

1) Does referencing queries increase the size of the pbix file?

2) Does refresh take a longer time?

3) What do I do with the same columns in the fact table? Do I relate them to columns in the dimension tables?

4) Do I create a key column in the fact and dimention table and relate them? Thereby I can delete some of fact table columns? Will that even work?

 

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

@Anonymous This is the official answer to referencing queries: Referencing Power Query queries - Power BI | Microsoft Learn. Referencing prevents duplicating logic but can result in slower data refreshes.



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler Haha. Absolutely. So clear as mud. Will continue in my pursuit of hapiness reference query

Anonymous
Not applicable

Thanks for the link @Greg_Deckler. So I understand that referencing actually slows down the performance and adds load on the source. Suggests to use Dataflow. Would you know the alternative to Dataflow in Report Server as we are not using the Service.

Also, I just came across a YouTube video from Enterprise DNA(https://www.youtube.com/watch?v=ENHbpukjtlY). Wonder if it is the same as query reference? Looks like. However its stated that the performance improved 🙂

@Anonymous Nothing like dataflows in PBRS that I am aware of. It *could* improve refresh performance due to caching. From the article:

Power Query caching architecture is complex, and it's not the focus of this article. Power Query can cache data retrieved from a data source. However, when it executes a query, it may retrieve the data from the data source more than once.

 

Soooo...clear as mud? 🙂



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.