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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Ankurdatascienc
Regular Visitor

Top N By Value not working

In attached image Page 2 I am trying to apply FIlter on the visual where I want to see Top 10 values by Turnover % but I am unable to put turnover % measure in BY value section. please help.

 

Ankurdatascienc_0-1707485549198.png

 

4 REPLIES 4
Daniel29195
Super User
Super User

@Ankurdatascienc 

Daniel29195_0-1707487668338.png

 

 

deactivate the relation betwen  staff and leavers, 

Daniel29195_1-1707487703645.png

and activate the relation between ddesignations and staff.

 

if you cant because you are using the relation between staff and leavers, 

 

then just change the code of 

Joinee count

measure to : 

Joinee count = CALCULATE(COUNTROWS(staff),USERELATIONSHIP(dDesignations[Designation],staff[Designation]))

 

 

this also will work .

Daniel29195_2-1707487829168.png

 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

 

Ritaf1983
Super User
Super User

Hi @Ankurdatascienc 
It seems a relationship problem, 
The turnover is showing always 100%, so it doesn't have a filer context.

To assist with correction, we need more data.

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Here is the link for file. Let me know If you can access it - https://drive.google.com/file/d/1P4D2xkDGnRuSXZnDHrzsePCwG7zZySzn/view?usp=drive_link

Daniel29195
Super User
Super User

@Ankurdatascienc 

could it be that the measure datatype is text ? assuming you used format( ) function in the DAX .  ? 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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