Skip to main content
cancel
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

Reply
EWBI
Helper I
Helper I

Creating User name List: Gathered in one column from from 2 different columns from two dif tables

I need to create a master list of users from 2 different data sources.

there is a user name list in each table with different user names that I want to zipper together into one column in a new table that I can use as a Master User List.

The 2 columns i want to zipper together are "User" from table 1 with "Arrival User" from table 2.

Please let me know if there is a way.

Example table comlumns below.

 

Table 1

Time of AccessUserDate of ServiceLocationLogin DeptDept IDNew?ContextVrf UserElapsed TimeActive TimeSourceType
 UserName1            
 UserName2            
 UserName3            
 UserName4            

 

 

Table 2

LocationArrival DepAccount IDArrv Date/TimeArrival UserEvent User
    UserName30 
    UserName31 
    UserName32 
    UserName33 
    UserName34 

 

1 ACCEPTED SOLUTION
quantumudit
Skilled Sharer
Skilled Sharer

Hello @EWBI 

You can accomplish this with DAX. Below is the DAX formula for the calculated table:

UserTable = UNION(ALL('Table 1'[User]), ALL('Table 2'[Arrival User]))

Navigate to the "Modeling" tab, select "New Table" to create a calculated table using DAX, and input the formula provided. Afterward, you can establish a relationship from your consolidated "UserTable" to other tables, as illustrated in the screenshot.

quantumudit_0-1725983144992.png

Here is the Power BI file for your reference: Power BI File (This link will expire on 12th Sept 2023) 

 

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

View solution in original post

2 REPLIES 2
EWBI
Helper I
Helper I

This did the trick!! You are awesome!! Thank you so much!!!

quantumudit
Skilled Sharer
Skilled Sharer

Hello @EWBI 

You can accomplish this with DAX. Below is the DAX formula for the calculated table:

UserTable = UNION(ALL('Table 1'[User]), ALL('Table 2'[Arrival User]))

Navigate to the "Modeling" tab, select "New Table" to create a calculated table using DAX, and input the formula provided. Afterward, you can establish a relationship from your consolidated "UserTable" to other tables, as illustrated in the screenshot.

quantumudit_0-1725983144992.png

Here is the Power BI file for your reference: Power BI File (This link will expire on 12th Sept 2023) 

 

Best Regards,
Udit

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudo 👍

🚀 Let's Connect: LinkedIn || YouTube || Medium || GitHub
Visit My Linktree: LinkTree

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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