cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Visual Level Filters Relative to Page Level

Hi All,

 

Would anyone know if it is possible to have a visual level filter relative to the page level filter.

 

For example, having a graph that is set to view last 5 days of work from today (24th Jan). While there is a filter on the page for all graphs to adjust the time period. So when the page level filter is set to a weeks ago(17th Jan), the graph views the last 5 days from 17th back.

 

Thank you 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Visual Level Filters Relative to Page Level

Hi @StuBee ,

 

Please refer to the measure below instead of a visual level filter.

Measure = IF(SELECTEDVALUE('Table'[date])>CALCULATE(MAX('Table'[date]),ALLSELECTED('Table'))-5,1,0)

 Result would be shown as below.

1.PNG2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
Highlighted
Super User IV
Super User IV

Re: Visual Level Filters Relative to Page Level

Can a measure like this help?

Rolling last 7 before 7 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],(dateadd('Date'[Date],-7,DAY)),-7,DAY))

This needs date table.

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s.

Refer
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Community Support
Community Support

Re: Visual Level Filters Relative to Page Level

Hi @StuBee ,

 

Please refer to the measure below instead of a visual level filter.

Measure = IF(SELECTEDVALUE('Table'[date])>CALCULATE(MAX('Table'[date]),ALLSELECTED('Table'))-5,1,0)

 Result would be shown as below.

1.PNG2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Post Partisan
Post Partisan

Re: Visual Level Filters Relative to Page Level

Power BI gives users the ability to fine tune how a slicer impacts the appearance of other visuals on the report canvas and vice versa. Enabling the Edit interactions option on the Format tab gives authors more options for controlling filters on a per-visual basis.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors
Top Kudoed Authors