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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
sharpedogs
Advocate II
Advocate II

Transpose data from one file to another if the Data exists - i think it's a calculated column?

I have two files as per the Tables below. 

Table 1 is my master file with the full set of devices and the current confidence level.

Table 2 is the smaller subset of devices with an updated status in the confidence level column.

 

I want to take the New status in the Confidence Level from Table 2 and transpose it to the correct devices in Table 1. 

I think I might have to do a new calculated column? I'm just not sure of the DAX.  

 

Table 1

Device NameConfidence Level
AAA

High 

BBBHigh
CCCHigh 

 

Table 2

Device Name 

AAA

Medium

 

End State would look like 

Device Name

Confidence Level 
AAAMedium
BBBHigh
CCCHigh

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Col1= related(table2,[status])

Col2=if(isblank(table1[col1]),table1[status],table1[col1])

If it resolves your problem mark it as a solution and give Kudos.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

I consider your tables are connected in with many to one or one to many relationship.

You have to simply drag device name from master table and status from second table.


Incase u want new column in master table only and if there is join on device name.

Then use below dax for column in first table

New column= related(table2[status])

Thanks and regards,
Pravin Wattamwar


If it resolves your problem mark it as a solution and give Kudos.

Hi, 

There is a relationship, it's a 1 to 1 on the device name. 

 

The DAX you gave is good, the issue it leaves me with is that the calculated coumn now has a bunch of blanks. How do I add onto the DAX so that when it moves over the few updated values it then fills in the rest of the column the the old values? 

Anonymous
Not applicable

Col1= related(table2,[status])

Col2=if(isblank(table1[col1]),table1[status],table1[col1])

If it resolves your problem mark it as a solution and give Kudos.

Really appriciate the support late on a Saturday night....  it worked perfectly!!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.