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
Minnie
Frequent Visitor

Ranking on page level filter

Hi,

I'm pretty new to Power BI and I have a report that need to have a page level filter on top 10 products and then can change based on which year you choose in the slicer. But I just can't get this to work, so I hope that someone in here have some awseome solution!

 

I will be grateful for any help that is provided

Regards

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Minnie,


I'm pretty new to Power BI and I have a report that need to have a page level filter on top 10 products and then can change based on which year you choose in the slicer. But I just can't get this to work, so I hope that someone in here have some awseome solution!


Currently, we can only use columns to apply a page level filter. However, not like measures, calculate columns computed during database processing(e.g. data refresh) and then stored in the model, they do not response to user selections on the report. So I don't think you can have a page level filter on top 10 products and then can change based on which year you choose in the slicer.

 

An alternative way I can think of is creating a measure to calculate the Rank, then use the Rank measure as visual level filters for all visuals on your report to get the top 10 products, which can change based on which year you choose in the slicer. Here is an article about calculating ranks dynamically based on Slicer for your reference. Smiley Happy

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @Minnie,


I'm pretty new to Power BI and I have a report that need to have a page level filter on top 10 products and then can change based on which year you choose in the slicer. But I just can't get this to work, so I hope that someone in here have some awseome solution!


Currently, we can only use columns to apply a page level filter. However, not like measures, calculate columns computed during database processing(e.g. data refresh) and then stored in the model, they do not response to user selections on the report. So I don't think you can have a page level filter on top 10 products and then can change based on which year you choose in the slicer.

 

An alternative way I can think of is creating a measure to calculate the Rank, then use the Rank measure as visual level filters for all visuals on your report to get the top 10 products, which can change based on which year you choose in the slicer. Here is an article about calculating ranks dynamically based on Slicer for your reference. Smiley Happy

 

Regards

Hi @v-ljerr-msft,

 

Thank's for the answer. Smiley Happy

I have written a mdx-query that loading top 10 from the cube, but it´s a static solution.

I have looked at the visual level filter for the slicer, maybe it is an option.

 

Regards 

 

 

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.