cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
caio_queiroz
New Member

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
New Member

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

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
New Member

HI

amitchandak
Super User IV
Super User IV

@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...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.