Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I try to find the most invoiced (1.) Currency used by Country,
TableOut: CountryCode, CurrencyCode
TableIn: CountryCode, CurrencyCode, EuroAmount
1. Find the =MAX(EuroAmount) by CountryCode
2. and for that EuroAmount (by CountryCode) find the CurrencyCode
=DistinctCount(CurrencyCode) by Country = 1...6 currencies (incl. Euro)
Is there a simple DAX-solution for this ?
InExcel: Something like this: ={MAX(IF($A5=$A$2:$A$258;$C$2:$C$258))=$C5} and filter True
Hi @Ola,
It seems that you have two tables, have you created the relationships between the tables?
Could you share some data sample which can reproduce the scenario, so that we can help further investigate on it?
It would be better if you could provide your desired output.
Best Regards,
Cherry
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
120 | |
101 | |
71 | |
61 |