Forum Discussion

Centaur's avatar
Centaur
Helper V
4 years ago
Solved

Update Vendor Name based on Vendor Code

Hello,   I have a query with [Vendor Name] and [Vendor Code]. I need to add another column for when the Vendor Name is null but I need to match on Vendor Code. So essentially, when the Vendor Nam...
  • BA_Pete's avatar
    4 years ago

    Hi Centaur ,

     

    It just looks like you need to relate your Vendor dimension table (your master list that you're planning to fill in the gaps with) to the table provided by the owner.

    In the data model, you would relate dimensionTable[VendorCode] ONE : MANY ownerTable[VandorCode].

    You can then use the [VendorName] field from your dimension table in any visuals/calculations that you want.

     

    Pete