Forum Discussion
tnaess
2 years agoNew Member
Measure with top 3
Hi all. I have a few tables with data and I'm sharing some examples of what they contains. This table contains general ledger transactions. This table contains the main accounts with it...
Anonymous
2 years agoNot applicable
Hi tnaess ,
Please try this measure:
Country Code = CONCATENATEX(TOPN(3,CALCULATETABLE(VALUES('MotpartSettings'[COUNTRYCODE])),[CONTROLLED TRANSACTIONS TOTAL],DESC),'MotpartSettings'[COUNTRYCODE],"|")
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
tnaess
2 years agoNew Member
Hi Anonymous ,
thanks a lot. Just one additional question, how do I adjust the number of contry codes to be the same as the top3? At the moment it lists more than three values.