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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
adamc28
Regular Visitor

Merging Queries to reduce rows

Hi All,

 

I am currently merging queries to reduce the number of rows I am loading into Power BI and I am wondering if it is the most efficient process or not. 

 

I currently have an incident table with nearly half a million rows from only a few months or so of data (system migration), long term we will be reporting on the last 18 months of data from this source, so I expect the number of rows to reach the millions.

 

As a result I'm trying to reduce this by merging queries with a contact table (same source), to only filter by certain contacts the incident has been assigned to, opened by, closed by etc. But at this point I'm now doing mutiple merges as these fields are all GUIDs that need to be merged with the contact table to retrieve names and other information that I can use to filter by. 

 

I know from a modelling perspective not to ultimately load these in as I have a few different contacts tables as dimension tables in my model. But given that mering queries is so taxing and I'm doing it multiple times now I wondered if there are any rules as to what best practice is in this scenario.

 

I have been advised by colleagues that SQL views would be the best way to do this, but unfortantely I or an available colleague do not have the skills for that.

 

Thanks

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @adamc28 ,

If you don't want to merge queries, you can try to filter the data source before loading data, please refer to the below solution:

Solved: Filetring my table before importing in PowerBi - Microsoft Power BI Community

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.