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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Super User
Super User

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
Super User
Super User

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.