cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Show best sum amount in card

Hello,

Currently I have in my card value the best customer, my objective is to display best customer's total amount too on the card below.

The chart is currently showing the sum of all values categorized by each customer.

I've tried to do the same measure as I did with best customer, but it's showing only one of the receipts of the customer, and instead I would like to show me the sum of it, so I was trying to get the value of total amount filtering by the card value given, but it doesn't show

 

I know in SQL it would be like:

SELECT SUM(MON_TOT) 
FROM HIST_DOC
WHERE NOM_EMP = CARD_BESTCUSTOMER_VALUE (variable)
GROUP BY NOM_EMP;

 

 

FORUM1.PNG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IX
Super User IX

Re: Show best sum amount in card

@LuisCP2012 ,

maxx(filter(values(Table[customer]),[Rank]=1),Table[Customer] & " " & Table[Amount])


Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
Highlighted
Super User IX
Super User IX

Re: Show best sum amount in card

@LuisCP2012 ,

maxx(filter(values(Table[customer]),[Rank]=1),Table[Customer] & " " & Table[Amount])


Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors