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
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
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.

Top Solution Authors