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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Create a new value based on two columns in separate tables

Relatively new to Power BI, and have used this site plenty of times for assistance; figured I'd make my own post now after some prior digging. From what I've learned so far of PBI, this seems like a particularly unique request.


I have two tables, from two separate queries, and I'm looking to search one column from each for similar values, to either link or combine into a new value that I'd use to search. Its worth noting as well that one of the columns is custom. 


Below is an example of the tables:








Table1, "Machine Type" column is the custom one I made based on the machine name. The goal is to be able to select "Server" or  "Workstation" in a filter, and have SERVERs or WORKSTATIONs show in Table1, and Server_Maint or Wrk_maint show in Table2. 


I hope I have explained this well; certianly let me know if any clarification is needed. Any help is appreciated, and thank you for the past assistance!


-Frank V.

Community Support
Community Support

Hi @FrankieVee ,


Has your problem been solved?


Best regards,
Lionel Chen

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

Community Support
Community Support

Hi @FrankieVee ,


It seems that as long as the table relationship is created.




Best regards,
Lionel Chen

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

Super User
Super User

@FrankieVee ,

After joining Company column in both the table then Create New column in Table 1:

New = SWITCH(Tbl1[Machine Type],"WORKSTATION","Wrk_maint","SERVER","Server_Maint")
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Super User
Super User



Could you please show the screenshot of the expected result that you want to get?


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

Proud to be a Super User!

Super User
Super User

@FrankieVee , if these tables are joined on common key like company, you will be able to do.

else create machine type in Table 2 also based on billed Item

You can use containsstring

Create a common dimensions of machine type, company and analyze them together

Helpful resources


Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors