Forum Discussion
Dax question about comparing non-adjacent row values in same column
- 8 years ago
Hey,
wondering if you considered to use
LOOKUPVALUEhttps://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
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
- TomMartens8 years ago
Super User
Hey,
basically you can use variables that reduces hardcoding dramtically, also consider to pivot the columns Testresult1 - Testresult3 into one column
Everything gets much more simple if you provid a pbix with sample data, upload the file to onedrive or dropbox and share the link.
Regards
Tom