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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Community Champion
Community Champion

@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
Community Champion
Community Champion

@Ankurdatascienc 

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

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.