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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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