Forum Discussion
Not consider duplicate IDs in a Top N
- 4 years ago
Hi Anonymous ,
I have assumed that you have an ID column. Please try the following :
1. Create a calculated column on your table to give you the min value of company for each ID.Min Value =CALCULATE(MIN(CompSales[Company]),ALLEXCEPT(CompSales, CompSales[ID]))
2) Using ths table, create a calculated table that has company and salesMin Sales =SUMMARIZE(CompSales,CompSales[Min Value],CompSales[Sales])Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 😊
Sure, this would be:
I´d like to get for example, the min of company column in case the ID is duplicated
Hi Anonymous ,
I have assumed that you have an ID column. Please try the following :
1. Create a calculated column on your table to give you the min value of company for each ID.
2) Using ths table, create a calculated table that has company and sales
Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 😊