Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
Solved! Go to Solution.
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
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
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
Proud to be a Super User!
User | Count |
---|---|
92 | |
87 | |
77 | |
73 | |
68 |
User | Count |
---|---|
116 | |
107 | |
88 | |
65 | |
63 |