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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
abisrani
Helper I
Helper I

no top N result filter at page level

Hello 

I am trying to select the top 10 sales on my visual. 

I am using a slicer that changes the date each time I move it. 

Since I am using the slicer, I want my filter for top 10 sales to get updated along with the slicer. 

This means I need a filter for page level for top N values that can consider both the filters on the page. 

abisrani_0-1674157491379.png

sal idcompany namesalesdate
111abc10031/12/20
122def15010/03/20
1333ghi30015/02/20
133jkl25031/12/21
144mno55010/05/21
1555pqr45015/09/21
1666stu70015/11/21

 

1 ACCEPTED SOLUTION
IoannisPhilip
Advocate II
Advocate II

Hi @abisrani,
Although it is not very clear what exactly you are looking for and how your end table should look like, I will try to be helpful.

In the first place, consider if it is really needed to have the date in the table. This is forcing Power BI to add the date dimension break-down of your results. I would remove it and simply have the TopN results by sales, which by the way is adapting dynamically on your date slicer by default (if it is not the case, you should double-check the table connections in model mode).

IoannisPhilip_0-1674406710527.png

Alternatively, if you really need to have the date as a column in your table, you could consider grouping the dates, and creating bins (e.g. bi-monthly). Again you will not have a by row result, but a bit more compact table.
To do so, you right-click over the "date" in fields section and then click "new group", choose your bins, and you are good to go.

IoannisPhilip_1-1674407072896.png

Best of luck, let me know if that was helpful.

 

View solution in original post

2 REPLIES 2
IoannisPhilip
Advocate II
Advocate II

Hi @abisrani,
Although it is not very clear what exactly you are looking for and how your end table should look like, I will try to be helpful.

In the first place, consider if it is really needed to have the date in the table. This is forcing Power BI to add the date dimension break-down of your results. I would remove it and simply have the TopN results by sales, which by the way is adapting dynamically on your date slicer by default (if it is not the case, you should double-check the table connections in model mode).

IoannisPhilip_0-1674406710527.png

Alternatively, if you really need to have the date as a column in your table, you could consider grouping the dates, and creating bins (e.g. bi-monthly). Again you will not have a by row result, but a bit more compact table.
To do so, you right-click over the "date" in fields section and then click "new group", choose your bins, and you are good to go.

IoannisPhilip_1-1674407072896.png

Best of luck, let me know if that was helpful.

 

lbendlin
Super User
Super User

That is not enough sample data.  Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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