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
ri2sina
Helper I
Helper I

Each value=[Table] after merging and expanding 2 tables

Hi!
Need a help!

I have 2 tables.
The first one consists the titles of the sites by it's ids.
The second have some values for each site_id.
I need to know the site titles in the second table.
For this I mergedthe first table to the second by the column "site_id".
After that I expanded the column site_title.
And I got "[Table]" instead of each site_title value.


Thanx for any suggestion!

1 ACCEPTED SOLUTION

@v-yuezhe-msftThe problem is resolved.
The main problem was that in expanding window the column names were duplicated.
At first there were only column titles, then there were column titles with table prefix.

If I choose the second titles with table prefix, it won't expand, if first - everything is ok.

Thank you for trying to help!

View solution in original post

5 REPLIES 5
v-yuezhe-msft
Employee
Employee

Hi @ri2sina

Could you please share the sample data in your two tables? And how do you perform the merge process? After you merge the first table to the second table, you would get the result as below in Query Editor.
1.PNG

Then please click the arrow button on the upper right corner as shown in the following screenshot and only select the title field.
2.PNG

This way, check that if you get the expected result as follows.
3.PNG


Thanks,
Lydia Zhang

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

@ri2sina Instead of doing that ensure there is active relationship between two table ie from table1 siteid to table2 siteid. Then for table2 create calculated column using below,

 

table2NewCol = Related(table1[titleColumn])

@ankitpatira this funsction doesn't work((
I wrote the same like =Related('table name'[title])

@v-yuezhe-msftThe problem is resolved.
The main problem was that in expanding window the column names were duplicated.
At first there were only column titles, then there were column titles with table prefix.

If I choose the second titles with table prefix, it won't expand, if first - everything is ok.

Thank you for trying to help!

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.