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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
florin
New Member

powebi detects as duplicate issue with top N - first values.

Hey guys. Can someone help me please with a filter? I'm trying to use a Top N - first 5 values and is not working for me

So basically i wanna see the top 5 NPS And those top 5 basically have the value 10 But powebi detects that as duplicate and takes the other values in cosideration
a1.png

1 ACCEPTED SOLUTION

Ok, there are work arounds for this but the best one is to add a rand()*0.000001 value to your column
Either as a calculated column or just before your topN
https://docs.microsoft.com/en-us/dax/rand-function-dax

or make measure using topN but not just use the column, use column + RAND()*0.00001



View solution in original post

3 REPLIES 3
Rayshin
Memorable Member
Memorable Member

What method did you use first?

it's here

 a2.png

Ok, there are work arounds for this but the best one is to add a rand()*0.000001 value to your column
Either as a calculated column or just before your topN
https://docs.microsoft.com/en-us/dax/rand-function-dax

or make measure using topN but not just use the column, use column + RAND()*0.00001



Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors