Forum Discussion

Heinrich's avatar
Heinrich
Icon for Post Partisan rankPost Partisan
1 year ago
Solved

Connecting to csv and filtering

Hello I have 2 csv's with following data Name: Communication Column: Date Column: Time Column: Outgoing number Column: Incoming number Column: Email Column: SIP-Code   Name: List of numbe...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi all, thanks for the quick reply, I'll add more.

    Hi Heinrich ,

    Here are the data of my two CSV files

    You don't need to establish a relationship between tables. You can achieve your goal by creating a measure using the following expression:

    Incoming_number = MAXX(FILTER('1','1'[Incoming number] IN VALUES('2'[PhoneNumbers])),[Incoming number])
    Outgoing_number = MAXX(FILTER('1','1'[Outgoing number] IN VALUES('2'[PhoneNumbers])),[Outgoing number])

    Final output

     

    Best Regards,
    Wenbin Zhou