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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

use different table to show data

Hi, I have a detail table linked to another table. The other table acts like a lookup table, so the link provides a description of the value it's linked to.

Is there a way i can change the data model so that instead of linking to lookup table A, it links to lookup Table B instead for example, when I press a button on the tab? Then switch back to the original relationship with a different button.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Has a relationship been created between table A and table B? If a relationship is created, you can refer to the following blog to query the data between different tables.

Get a field value from a related table in Power BI: DAX RELATED Function Explained

POWER BI AND DAX – USERELATIONSHIP TO WORK WITH MULTIPLE DATES

Otherwise, you can use the LOOKUPVALUE function to implement the query.

Find The Data Value using LookupValue DAX Function in Power BI; Simple and Useful

LOOKUPVALUE – assigning of values from other table without relation (DAX – Power Pivot, Power BI)

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Has a relationship been created between table A and table B? If a relationship is created, you can refer to the following blog to query the data between different tables.

Get a field value from a related table in Power BI: DAX RELATED Function Explained

POWER BI AND DAX – USERELATIONSHIP TO WORK WITH MULTIPLE DATES

Otherwise, you can use the LOOKUPVALUE function to implement the query.

Find The Data Value using LookupValue DAX Function in Power BI; Simple and Useful

LOOKUPVALUE – assigning of values from other table without relation (DAX – Power Pivot, Power BI)

Best Regards

StefanoGrimaldi
Resident Rockstar
Resident Rockstar

no, but you do can use userrelantionship dax function to create dax that behavie with a spcific relantion and use a select value to change the dax from one relantionship to another, you will have to set up both relantionship between the tables at least as incative also





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors