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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
T_Deufel
Regular Visitor

Only load referenced data from dataflow

Hello! 🙂

 

i have a hard time understanding filtering options of dataflows. Given the following example:

 

Table1 (Fact table which stores the movement of certain parts) :

PartIdProductionStepDate
1Step A21.03.2024
2Step A21.03.2024
3Step A21.03.2024

 

Table2 (Dim table which stores master data of all produced parts with > 2 million rows):

PartIdData
1Lorem Ipsum
2Lorem Ipsum
3Lorem Ipsum
  
1992924Lorem Ipsum

 

I can now filter Table1 to my desires, e.g. ProductionStep = Step A and Date = 21.03.2024. In the dashboard, i now want to show the masterdata from Table2. To achieve this, i can build a relationship between Table1 and Table2 based on the PartId column. 

 

The problem i am facing now is, that i always have to load the complete Table2, even though i only would need that PartIds which exist in Table1

 

Is there a solution to omit the complete load of Table2?

 

In a setting with an SQL Server, i could achieve this either by joining the Table1 and Table2 beforehand or by using a CTE and filter both Tables using the CTE. I cant think of an easy way doing this with a Dataflow, without alterting the dataflow itself.

 

Many thanks for your input, Timo

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@T_Deufel,

 

Three ideas:

 

1. Modify the dataflow to use custom SQL that performs the filter.

2. Modify the dataflow by creating an inner join between Table1 and Table2.

3. In the pbix, use Power Query to create an inner join between Table1 and Table2 (Merge Queries). This will leave your dataflow intact, which may be preferred if any downstream objects need the full Table2.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@T_Deufel,

 

Three ideas:

 

1. Modify the dataflow to use custom SQL that performs the filter.

2. Modify the dataflow by creating an inner join between Table1 and Table2.

3. In the pbix, use Power Query to create an inner join between Table1 and Table2 (Merge Queries). This will leave your dataflow intact, which may be preferred if any downstream objects need the full Table2.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.