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
LuisCP2012
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
amitchandak
Super User
Super User

@LuisCP2012 ,

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@LuisCP2012 ,

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

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.