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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Jeremy19
Helper III
Helper III

Create variable from another table

Hi,

I would like to create a variable from another table, for example:

 

Table A        

Var1      ord

A           1

A           1

B           2

A           1

 

Table B

Var1      ord

A          1

B          2

 

There is a relation between the two tables with Var1 and I would create the variable ord of table A using table B. Or just sort Var1 from table A from the variable ord of table B but I don't think it's possible. Someone can help me ?

 

Thanks !

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @Jeremy19

 

You can use this column in Table A

Ord= RELATED(TableB[Ord])

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @Jeremy19

 

You can use this column in Table A

Ord= RELATED(TableB[Ord])

Perfect ! Thanks

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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