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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to insert this column into another table

I have a table, with a snippet of it shown below.

 

XYZ1233_0-1644845607735.png

 

I want the min/max columns to be added to another table. Does anyone know how I can write in DAX for the corresponding min/max value for each tagname to be added to the second table, i.e. for s011_tic11_23_pv, add the min and max values 0.5 and 2.5 in the 2nd table. The 2nd table has multiple repeats for each tagname so I want the min/max to be copied in for all of the repeats.

 

XYZ1233_1-1644845660033.png

 

 

 

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You can create two columns in table 2 like below:-

min = related('table1'[min])
max = related('table1'[max])

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

2 REPLIES 2
Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You can create two columns in table 2 like below:-

min = related('table1'[min])
max = related('table1'[max])

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Anonymous
Not applicable

Thanks @Samarth_18 , that worked

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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