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
FreedJustine
Helper I
Helper I

How to show the bottom N in visual card

 Hi I try to figure out how to show in Visual Card the Bottom N sales person, so i created 2 measures

 

  1. Count 
  2. Sales Amt

 

Visual Card result shoul be "Johnny Bi" but card show only the first sales person. I try to use the TOPN but still first sales person appear. pls. help

This is the result if I use table visualsThis is the result if I use table visuals

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hi @FreedJustine ,

 

Please see if this measure works.

 

Bottom Sales Person name for Sales =
CALCULATE (
LASTNONBLANK ( 'SalesTeam'[Sales Person] , 1 ),
FILTER ( TOPN ( 1, VALUES ( 'SalesTeam'[Sales Person] ), [Total Sales], ASC ), TRUE () )
).
 
If not, please share sample date and expected output to help you better.
 
Regards,
Harsh Nathani

Hi @FreedJustine ,

 

Did the solution work for you.

 

Please mark as solution for other community members to benefit.

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

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.

Top Solution Authors