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
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
Super User
Super User

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
Super User
Super User

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors