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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abisrani
Frequent Visitor

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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