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
vdog01
Frequent Visitor

Combining tables for exporting

Hello all, I have an issue that I'm trying to resolve.

 

Let's say I have two tables

 

Table 1 has 2 columns

col1col2
a1
b1
c1

 

Table 2 has 3 columns and is joined to table 1 by col1 (1:many)

col1col2
aaa
b123
baaa
cbb

 

 

I also have a two tab Power BI report that has the two tables as separate tables, eg, here the report is filtered where col1 = 'b'

 

2018-09-07 11_14_28-Presentation1 - PowerPoint.png

 

I would like to get a second tab which combines both table 1 and table 2 so it can be exported as 1 single file, rather than having to do a separate export for table 1 and table 2?

 

2018-09-07 11_16_52-Presentation1 - PowerPoint.png

 

I tried creating new Merged table of Table 1 and Table 2, but the filter doesn't seem to work, in that the combined table seems to include all the rows, 

 

2018-09-07 11_19_52-Presentation1 - PowerPoint.png

I tried copying the filters from the first tab and syncing them but this doesn't seem to work.

 

Any suggestions I can try?

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @vdog01,

 

Based on your description, I have made a test with your data sample and I could export the data of combined table with filter like below.

export data.PNG

 

I don't merge the two table, I append the two table in Query Editor.

 

More details, you could have a reference of the attachment.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @vdog01,

 

Based on your description, I have made a test with your data sample and I could export the data of combined table with filter like below.

export data.PNG

 

I don't merge the two table, I append the two table in Query Editor.

 

More details, you could have a reference of the attachment.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you!

 

I think I was making my solution too complicated.  This is a much simpler solution!

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.