Forum Discussion
trdoan
7 years agoHelper III
DAX to look up shared items using variable
Hi everyone,
Here is my sample file.
This file is used to compare Vendor CHR.FR against Vendor PWC.CR on only their shared Material Numbers, however, everywhere in this file, I had to specifically point out the names of the 2 Vendors which is not very optimal and quite time-consuming if let's say I'd like to compare another pair.
Is there a more flexible way to go about this task without so much as changing the names manually every single time? Like using variable?
Thank you so much!
trdoan ,
You may try adding measures as follows.
Measure = "CHR.FR"
Measure 2 = VAR v = [Measure] RETURN v
3 Replies
- parry2kSuper User
- v-chuncz-msftCommunity Support
trdoan ,
You may try adding measures as follows.
Measure = "CHR.FR"
Measure 2 = VAR v = [Measure] RETURN v