Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors