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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.