Forum Discussion

SkorpionAAM's avatar
SkorpionAAM
Icon for Helper V rankHelper V
6 years ago
Solved

Match Values in Same Columns with condiiton

I have data whch contain Survey Round id and Place digital Address

 

Survey round havdtwo IDs 1 and 2

 

now what i looking here is if round 1 have same place digital address in round 2 then its giv me Match if not then give me not match i tried but not success

 

if [place_digital_adress] = [place_digital_adress]

and [survey_round_id] <> 2
then "Match" else "Not match"

 

for example

 

if place digital adress have

                      

100-00-00        ROund 1        Match

100-00-00        ROund 2        Match

100-00-01        ROund 2        Not Match

100-00-02         ROund 2       Not Match

100-00-03         ROund 1       Match

100-00-03         ROund 2        Match

 

 

https://docs.google.com/spreadsheets/d/1y1R88t-Q_nVs1Eh3FKwD-OxG5BYQ3mfW1sNOEto8Q94/edit?usp=sharing

  • Anonymous's avatar
    Anonymous
    6 years ago

    HI SkorpionAAM 

    Try the below DAX to create a new column

     

     

    _LOOK = 
    var _val = LOOKUPVALUE('Table'[survey_round_id], 'Table'[place_digital_adress], 'Table'[place_digital_adress],BLANK())
    RETURN IF(ISBLANK(_val),"Match","Not Match")

     

     

     

     

5 Replies