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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Relative Filter Help Please

Hi All,

 

I am trying to work out how, when i select a month filter (from a calendar table) to apply a filter (>90 days from the selected month) to a card.

 

So the >90 days always references the selected month filter...

 

thanking you in advance.

 

Regards,

Peter

 

 

 

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Anonymous ,

 

I have to admit that I have my difficulties to understand what you are tring to achieve.

 

Nevertheless, may this is what you are looking for.

I assume that your calendar table is called Calendar.

measure = 
var maxdate = max('calendar'[date]) // this returns the max date in the context of the slicer
return
CALCULATE(
 <here comes the numeric expression>
, DATESBETWEEN('calendar'[date] , maxdate - 90 + 1 , maxdate)
)

Hopefully, this provides what your are looking for.

 

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi Tom and thank you for replying.

 

Let me attempted to explain in more detail-

 

When I select a month from the left side radio buttons, I require (for example) the top right card to only show data that is >90 days from the month selected

 

The visual filter I have displayed works when there is only one month of data, but now that I have two months it does not work as the visual filter (CORP_LASTLOGONTIME) is fixed...

 

Regards,

Peter

 

 
 
 

Capture.JPG

Hey @Anonymous ,

 

it's still not clear, what you want to achieve.

 

Please describe what has to happen when you select August 2020 from the leftmost slicer, what days have have to used to filter the measure(s) that you want to display on the card visuals.

 

It's also not clear what you mean by the "visual level filter is fixed".

Can you remove the visual level filter, and "just" rely on measure(s) that honor the month selection from the single-select slicer?

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.