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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Snehal_123
Frequent Visitor

Power query

Hi, 
I am stuck with a problem with the power query.
Scenario: I want to display the name of the employee with the highest percentage in a CARD visual.

Table name: sheet2

Columns: name, correct answer, incorrect answer, percentage, and so on.

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

Not sure about doing this in power query, it sounds like you want a measure to do this, in which case you can use:

 

Measure = LOOKUPVALUE('sheet2'[name],'sheet2'[percentage],MAX('sheet2'[percentage]))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

Not sure about doing this in power query, it sounds like you want a measure to do this, in which case you can use:

 

Measure = LOOKUPVALUE('sheet2'[name],'sheet2'[percentage],MAX('sheet2'[percentage]))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.