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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
ray_ux
Memorable Member
Memorable Member

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
ray_ux
Memorable Member
Memorable Member

What method did you use first?

it's here

 a2.png

ray_ux
Memorable Member
Memorable Member

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.