Forum Discussion

PallaviKGVG's avatar
PallaviKGVG
Helper I
8 years ago
Solved

Create column using different table's column

Hi, I need help with formula to add new column called 'multiplier' in table "client_purchase_order_item" where this column should get generated from other column 'unit_id' of the table itself.The dy...
  • Seward12533's avatar
    Seward12533
    8 years ago
    Try LOOKUPVALUE
  • Seward12533's avatar
    Seward12533
    8 years ago
    Intuitively I like the 2nd but if they both work either is fine. For all I know the calculate with the filter is exactly what the model engine is doing under the covers but lookup is easier to understand when coming from a vlookul exel mindset.

    If interested do some performance testing with daxstudio and see which is faster with less resources. https://www.sqlbi.com/tools/dax-studio/