SUbscription name, date, action with profile id in 1 single row
Hello Everyone,
I have a use case
Profile ID from subscription table
Subscription ID from Subscription table
Action from Subscription table
Latest Date from Subscription table
Profile ID Service # Action Date
1 Service 1 Unsubscribe 10/10/2022
1 Service 2 Subscribe 10/10/2022
i would like to fetch both the records in 1 single row similar to below
Profile ID Service # Action Date
1 Service 1 Unsubscribe 10/10/2022 Service 2 Subscribe 10/10/2022
Method 1 : I am trying to fetch subscription history all service ID and their action with latest date, but in query activity, i am not able add Max(Date) which acts as group by clause.
Method 2: i tried to fetch all records with service ID and action, after i tried using Deduplication activity based on Date but it gives me only 1 record.
Method 3: tried 2 query activity, one fetches profile ID and modified date, 2nd activity fetches only subscription name, action and then tried to enrich profile attributes, which works but i am not able to select only 1 records which is expected.
Any feedback is appreciated?
