Forum Discussion
Dedupe ID - Keep most recent record
- 8 years ago
Anonymous
(DAX(SUMMARIZECOLUMNS(analytics_clickstream_201802[visid_comb);"LastDate":MAX(analytics_clickstream_201802[date_time]))
)).
Replace : with ;
If you have problems with ; replace it with , (This is for regional settings)
Regards
Victor
Anonymous
Hi, you can create a New Table (Modeling - New Table)
NewTable =
SUMMARIZECOLUMNS (
'Sample Data'[Visitor ID];
"LASTDATE"; MAX ( 'Sample Data'[Date] )
)Regards
VIctor
It occurred to me as you were posting your response that the Visitor ID is based on a concatentation based on a Dax Function.
Will this work?
- Vvelarde8 years ago
Community Champion
Anonymous
Yes, this should be Work.
It takes the Visitor ID (after the concatenation was made it). The visitor ID is a calculated column right?
- Anonymous8 years agoNot applicable
This is the statement I am using for the ID creation:
visid_comb = CONCATENATE(analytics_clickstream_201802[post_visid_low],analytics_clickstream_201802[post_visid_high])
This is your recommendation, modified for the table:
Column = SUMMARIZECOLUMNS(analytics_clickstream_201802[visid_comb);"LastDate":MAX(analytics_clickstream_201802[date_time]))
This is the error message when I apply your suggestion, and I am not sure where my error is:
The syntax for ')' is incorrect. (DAX(SUMMARIZECOLUMNS(analytics_clickstream_201802[visid_comb);"LastDate":MAX(analytics_clickstream_201802[date_time]))
)).
Appreciate all of the help.
- Vvelarde8 years ago
Community Champion
Anonymous
(DAX(SUMMARIZECOLUMNS(analytics_clickstream_201802[visid_comb);"LastDate":MAX(analytics_clickstream_201802[date_time]))
)).
Replace : with ;
If you have problems with ; replace it with , (This is for regional settings)
Regards
Victor