Forum Discussion

someuser999's avatar
someuser999
New Member
8 years ago
Solved

Dax question about comparing non-adjacent row values in same column

Comparing row values. In Dax, for each subject and test item, how to determine the difference (numeric) between the type 3 result and the type 1 result? Subject Tester TestType TestItem1 TestItem2 ...
  • TomMartens's avatar
    8 years ago

    Hey,
    wondering if you considered to use
    LOOKUPVALUE 

    https://msdn.microsoft.com/en-us/query-bi/dax/lookupvalue-function-dax

    in combination with unpivoting the columns TestItem1 ... TestItem3

     

     

    If this is not what you are looking for, please consider to create a pbix file that contains sample data, upload the file to onedrive or dropbox and share the link.

     

    Regards,

    Tom