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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sisachosudo
Frequent Visitor

Is it possible to change the filter selection of several visuals at once?

Hello everybody.

 

My Power BI report is linked to a database so every month I have to refresh the report to get the last month's data.

Some visuals are showing figures for the last month and other visuals are showing the last 12-month trend or the last semester. They are all mixed and that's why I cannot apply the filter (Month) to the whole page.

 

The problem is that it is becoming very tedious work to do. Every month I have to refresh the report and then update the filter panel for 30 - 40 visuals to show only last month. And do that for 14 similar reports.

 

Is there a way to change the filters of several visuals at once?  

Remember I cannot apply the filter at Page-level or the trends will show only one month's data.

 

Thank you.

1 ACCEPTED SOLUTION
sisachosudo
Frequent Visitor

I think a found an answer here

I believe that from now on, the filters will refresh by themselves and I don't need to go through all the visuals.

 

sisachosudo_0-1646317267063.png

 

View solution in original post

4 REPLIES 4
sisachosudo
Frequent Visitor

Thank you amitchandak for posting.

 

I just checked now and the solution posted above solved the issue (in case it helps somebody else).

 

Take care all.

sisachosudo
Frequent Visitor

I think a found an answer here

I believe that from now on, the filters will refresh by themselves and I don't need to go through all the visuals.

 

sisachosudo_0-1646317267063.png

 

amitchandak
Super User
Super User

@sisachosudo , Not very clear, relative date slicer.

or default month or year using a column

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" , //Last Month
eomonth([Date],0)= eomonth(Today(),0),"This Month" , //This Month
[Month Year]
)

Thanks amitchandak,

 

I created the column with your code but when I apply it to all the visuals ("Filters on this page"), the trends disappear showing only last month's data. 

 

sisachosudo_0-1646315751366.png

 

When I want that chart to show the last 12 months:

 

sisachosudo_1-1646315828095.png

 

That's why I am forced to go through the visuals, one by one, changing the filter (Month).

I am trying to find a way to avoid this and save lots of time.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.