Forum Discussion
Lookup types relations
- 7 years ago
1) thats how we are doing in sql to get repair type description .. as above sql query
we dont have any table toget description of repair types
- Anonymous7 years ago
Hi narasimhuluk,
According to your description, it seems like you are using the getlookupDescripiton table to search the detailed description of repair type. I'm not so sure for your data structures and relationships, please provide more detailed information about your scenario.
In addition, you can also try to use below calculate column formula to RWO table if it works: (I try convert your t-sql query to dax formula)
Desc = LOOKUPVALUE ( 'GetLookupDescription_AR(Repair Types)'[Description], 'GetLookupDescription_AR(Repair Types)'[LookupReference], RepairWorksOrder[repair typeid] )Regards,
Xiaoxin Sheng
Hi narasimhuluk,
According to your description, it seems like you are using the getlookupDescripiton table to search the detailed description of repair type. I'm not so sure for your data structures and relationships, please provide more detailed information about your scenario.
In addition, you can also try to use below calculate column formula to RWO table if it works: (I try convert your t-sql query to dax formula)
Desc =
LOOKUPVALUE (
'GetLookupDescription_AR(Repair Types)'[Description],
'GetLookupDescription_AR(Repair Types)'[LookupReference], RepairWorksOrder[repair typeid]
)
Regards,
Xiaoxin Sheng