cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PbiCeo
Helper II
Helper II

TOPN filter dose not work as expected compared Top10 to Top15

Hello everyone,

 

I use TOPN filter  for "Com" on a matrix visual.

When I use Top10 like below:

Business Customers Com
ABCaa31.48
 

bb

30.45
 cc30.43
 dd30.38
 ee30.30
 ff20.10
 gg19.50
 hh19.20
 ii19.18
 jj19.14


When I use Top15 like below:

Business Customers Com
ABCaa31.48
 

bb

30.45
 cc30.43
 1130.43
 dd30.38
 ee30.30
 ff20.10
 2220.02
 gg19.50
 3319.40
 hh19.20
 ii19.18
 4419.15
 jj19.14
 5518.32

 

I was expecting Top1 - 10 of Top15 result would be the same.
How should I correct it?
Thanks,
Vladi

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @PbiCeo ,

 

I can't see any points through the screenshot, please show more information. Something like sample data and the formula you are using would be helpful.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

@v-jayw-msft 

Thank you for your reply.
Alternatively I tried to use DAX measure, Rankx with condditions using filter to then correctly filter by Topn filter, but it retuns always only 1.

RANKX(FILTER('table', 'table'[business] = 'table'[business] && 'table'[customer] =
'table'[customer]), SUMX('table', 'table'[com]))

What is wrong?
Appreciate your help, thanks in advance.
amitchandak
Super User
Super User

@PbiCeo has any other filter changed. I did not saw customers 11 and 22 in the first list. Can you check that.

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Hello @amitchandak ,
Thank you for your reply.
Alternatively I tried to use DAX measure, Rankx with condditions using filter to then correctly filter by Topn filter, but it retuns always only 1.

RANKX(FILTER('table', 'table'[business] = 'table'[business] && 'table'[customer] =
'table'[customer]), SUMX('table', 'table'[com]))

What is wrong?
Appreciate your help, thanks in advance.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!