Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18013

DAX Query for Top Manufacturer by Salesperson

$
0
0

This query is working except that I only want the top record.  I've used MAX and TopN a few different ways without any luck.  It's based off the 43,213.00 in column 'a'.  So basically it's the top manufacturer for each outside sales name.  Currently I'm getting ALL the manufacturers for each outside sales person.

 

Thanks in advance for any suggestions.......  Terry

 

___________________________

Table = SUMMARIZE('Top 10 Branches','Top 10 Branches'[Outside Sales.Outside Sales Name], 'Top 10 Branches'[Time.Date].[Date],'Top 10 Branches'[Parts.Parent Manufacturer], "a",SUM('Top 10 Branches'[Book Resale - SALE]))

 

DAX1.jpg

 


Viewing all articles
Browse latest Browse all 18013

Trending Articles