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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PJHos
Helper I
Helper I

return a single name for top sales using dax for dynamic text box

HI all,

 

I am writing some dynamic text to go alongside a report. I want to provide the name of the top item sold in my report, it appears a really easy ask but I cannot seem to figure it out

 

I have looked at RANKX and TopN but these seem return a category rank or a table what i am looking for is to return a name, as below the measure should just return the name 'Shoes' as top item sold

 

Item                 sold

shoes               100

trainers             80

shirts                70

socks                10

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

2 REPLIES 2
Ahmedx
Super User
Super User

pls try this

Screenshot_2.pngScreenshot_1.png

Absolutely wonderful thank you worked a charm

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.