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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
caio_queiroz
Frequent Visitor

Append one collumn in the same table to another colum.

Hello!

I have a table called projectname01, this table have several columns (cost center, owner, sponsor ..) and have a column called OldSolutionName (old project name) and NewSolutionnamet (new project name ).


What i need is to filter both columns (old and new name) to another table (projectcosts) that contains a column called Projectname that will have records with the Old and New names. i can't do a relationship to both columns in the same table, i already tried to duplicate the table and append the queries, but i got an error, so i supose it is not possible.

 

Anyone could help me to find a good way to have it done.

4 REPLIES 4
caio_queiroz
Frequent Visitor

In an example :

I have a project name = XPTO - US it is present in the ProjectCost and ProjectName tables, so here the simple relationship works

But i also have the projects

XPTO
XPTO1
XPTO - United States

And all above have different values on the ProjectCost tables and they are present in the ProjectName table in a different column, but i need to show the costs of this 3 above as XPTO - US, within the XPTO - US costs that i alredy have with the first relationship

Anonymous
Not applicable

Hi @caio_queiroz 

Could you show me two sample tables (projectname01 and projectcosts) to me and the relationship you build between two tables?

And you can show me a screenshot of the result you want.

Or you can provide me with your pbix file by your Onedrive for Business.

This may make it easier for me to understand your requirement.

 

Best Regards,

Rico Zhou

 

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

 

caio_queiroz
Frequent Visitor

HI

amitchandak
Super User
Super User

@caio_queiroz , Join both of them, One will active another will be inactive. Inactive can be activated using userelation

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors