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
YasirBilal
Helper I
Helper I

image change according to rank

Hi Everyone

 

So i have a data Set which include Emplyoee Employee-image and one month performance points what i want to achive is i need to show rank 1 employee image according to Performance 

 

Dataset look like this 

 

Employee RankEmployee NamePerformanceEmployee image
1Name120image
2Name225image
4

Name3

10image
5Name415image

 

what i want to achive is show image of rank 1 employee and when any other employee have more points and move to rank 1 image change automatically and show that employee image means whoever reach rank 1 after the end of month that employee image update automatically on image visual

 

Any help appreciated 

1 ACCEPTED SOLUTION

HI @YasirBilal 

On the Image Visual in the filter pane select basic filtering and select 1.

However, you would need to make RANKX DAX as a column instead of as a measure.

pranit828_0-1612642512805.png

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

View solution in original post

4 REPLIES 4
PaulDBrown
Community Champion
Community Champion

@YasirBilal 

You need to create a measure for the employee rank using RANKX and then create a conditional measure returning the visual if the Rankx value = 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you for Reply

 

Yes i have measure to get rank and i already get the rank but how i use it for image visual 

HI @YasirBilal 

On the Image Visual in the filter pane select basic filtering and select 1.

However, you would need to make RANKX DAX as a column instead of as a measure.

pranit828_0-1612642512805.png

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Thanks 

this work for me

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.