Forum Discussion
Anonymous
7 years agoNot applicable
Remove Duplicates but with certain criteria
Hi
Need Help.!
Item Size
a 1
a 2
a 3
b 1
b 1
b 2
Want to remove item duplication but keep with hightest size like below.
currently when i remove duplication in query it remain lower size..
[Desiral Table]
Item Size
a 3
b 2
- Anonymous7 years ago
Hi Anonymous ,
I'd like to suggest you write a calculated table with summarize function to remove duplicate records.
New Table = SUMMARIZE ( Table, [Item], "Max Size", MAX ( Table[Size] ) )
Regards,
Xiaoxin Sheng
2 Replies
- AnonymousNot applicable
Hi Anonymous
Just create a Measure
Measure = MAX(Size)
and pull Item and the above measure.
Thanks
Raj
- AnonymousNot applicable
Hi Anonymous ,
I'd like to suggest you write a calculated table with summarize function to remove duplicate records.
New Table = SUMMARIZE ( Table, [Item], "Max Size", MAX ( Table[Size] ) )
Regards,
Xiaoxin Sheng