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
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
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
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
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |