- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to EXCLUDE data from the past 12 months?
I have a report where I need to show the contact details of the active and inactive users on a web site.
I've managed to use the 'last login date' field and the "Relative date" filter to show the users who had logged in during the past 12 months. These are considered active users.
Filter type: Relative date
- is in the past
- 12
- months, include today
I cannot seem to figure out how to show the users who had 'not' logged in during the past 12 months. Ie. I want to show the list of users and exclude the ones with a 'last login date' that falls within the last 12 months.
Any advice?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks Tom, I'm a beginner when it comes to Power BI. Any tips on how I could create the IsActiveMeasure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @adadeacon ,
Maybe something like this? 🙂
Here the DAX:
IsActiveMeasure = IF ( SELECTEDVALUE ( Table[Date] ) >= DATE ( YEAR (TODAY() ) -1, MONTH ( TODAY() ), DAY( TODAY() ) ), 1, 0 )
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

hi @adadeacon ,
In this case I'd probably create a measure like IsActiveUser that returns a 1 or true if it is one and a 0 or false if it is not. Then you can use that flag in the filter pane.
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks Tom, I'm a beginner when it comes to Power BI. Any tips on how I could create the IsActiveMeasure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @adadeacon ,
Maybe something like this? 🙂
Here the DAX:
IsActiveMeasure = IF ( SELECTEDVALUE ( Table[Date] ) >= DATE ( YEAR (TODAY() ) -1, MONTH ( TODAY() ), DAY( TODAY() ) ), 1, 0 )
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-13-2024 07:28 AM | |||
07-07-2022 07:28 AM | |||
Anonymous
| 07-05-2024 07:22 AM | ||
04-10-2024 02:31 AM | |||
Anonymous
| 11-13-2019 08:37 AM |
User | Count |
---|---|
83 | |
78 | |
52 | |
37 | |
36 |
User | Count |
---|---|
104 | |
85 | |
47 | |
44 | |
43 |