This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Solved! Go to Solution.
| MAX(T[Date]) | CALCULATE(MIN(T[First Occurrence Date]), ALLEXCEPT(T, T[FN])) | DATE(2024, 10, 01) | Satisfy first condition? | Satisfy Second Condition? | Is Active? |
| April 1, 2025 | February 2, 2025 | October 1, 2024 | Y | Y | Y |
| April 1, 2025 | April 12, 2025 | October 1, 2024 | N | Y | N |
| April 1, 2025 | August 1, 2024 | October 1, 2024 | Y | Y | Y |
| April 1, 2025 | December 23, 1950 | October 1, 2024 | Y | Y | Y |
If the above is correct, then we can focus on Inactive.
Hi Nisha357,
We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.
If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.
Thank you.
| MAX(T[Date]) | CALCULATE(MIN(T[First Occurrence Date]), ALLEXCEPT(T, T[FN])) | DATE(2024, 10, 01) | Satisfy first condition? | Satisfy Second Condition? | Is Active? |
| April 1, 2025 | February 2, 2025 | October 1, 2024 | Y | Y | Y |
| April 1, 2025 | April 12, 2025 | October 1, 2024 | N | Y | N |
| April 1, 2025 | August 1, 2024 | October 1, 2024 | Y | Y | Y |
| April 1, 2025 | December 23, 1950 | October 1, 2024 | Y | Y | Y |
If the above is correct, then we can focus on Inactive.
Hi Nisha357,
We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.
If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.
Thank you.
Thank you, @bhanu_gautam, for your response.
Hi Nisha357,
We would like to check if the solution provided by @bhanu_gautam has resolved your issue. If you have found an alternative approach, we encourage you to share it with the community to assist others facing similar challenges.
If you found the response helpful, please mark it as the accepted solution and add kudos. This recognition benefits other members seeking solutions to similar queries.
Thank you.
@Nisha357 , Try using
DAX
User Status Measure =
SWITCH(
TRUE(),
-- Mark as "Active" if conditions for activity are met
MAX(T[Date]) > CALCULATE(MIN(T[First Occurrence Date]), ALLEXCEPT(T, T[FN]))
&& MAX(T[Date]) >= DATE(2024, 10, 01)
&& CONTAINS(T, T[Date], MAX(T[Date])),
"Active",
-- Mark as "Inactive" only for rows between 2024-10-01 and today
MAX(T[Date]) >= DATE(2024, 10, 01)
&& MAX(T[Date]) <= TODAY()
&& CONTAINS(T, T[Date], MAX(T[Date])),
"Inactive",
-- Exclude all rows outside the defined conditions
BLANK()
)
Proud to be a Super User! |
|
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |