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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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