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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors