Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ola
Frequent Visitor

Most invoiced Currency by Country

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

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

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

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.