cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bw70316
Helper V
Helper V

Filering based on TOP N 1

I am having trouble filtering with TOP N. It just gives me the top part of the catergory I am filtering regardless of the count. In my example below, 1618 should return as FA Rental Assistance based on the number of instances it occurs in the count of arrears (which I am filitering my TOP N by). However, when I filter by top N 1 ALL of my breakdown for arrears return as FA:Rental Assistance Arrears? Even when I filter by another count for the TOP N, it all returns the same has FA Rental Arrears

 

bw70316_0-1635262700197.png

 

3 REPLIES 3
TheoC
Memorable Member
Memorable Member

Hi @bw70316 

 

I believe this may be because of all the additional columns / fields you have.  If you only leave the field Arrears Breakdown in the table visual, remove all others, and then apply your Top N = 2 based on count, I believe that the output should be 2 records only.  Are you able to try that?

 

Look forward to hearing from you soon.


Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?  www.linkedin.com/in/theoconias

v-henryk-mstf
Community Support
Community Support

Hi @bw70316 ,

 

According to your description, it may be that the filters for other fields are having an impact on the filter results. You can use the allselected function to keep the filter fields corresponding to Top. Or clear other filters. Please try again.


If the problem is still not resolved, can you provide the test data (remove sensitive information) and the expected results and I will answer you as soon as possible.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

TheoC
Memorable Member
Memorable Member

Hi @bw70316 

 

I believe this may be because of all the additional columns / fields you have.  If you only leave the field Arrears Breakdown in the table visual, remove all others, and then apply your Top N = 2 based on count, I believe that the output should be 2 records only.  Are you able to try that?

 

Look forward to hearing from you soon.


Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?  www.linkedin.com/in/theoconias

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.