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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
I have a table called "Actions" and another table called "tb_Calendar" which is a calendar table.
Action Name | Created Date | Closed Date | Status (Open or Closed)
I need a view were I can see the amount of actions that were opened during a period.
It should show that in January I had 40 actions opened, February 30, etc...THis is based on the Created Date and Closed Date collums.
The problem is that i'm only getting the number of actions that were opened during that period and not the amount of all actions that were opened during that period.
Solved! Go to Solution.
Hi,
I just responded to a similar post here. Please see the link which i have shared there.
It was not the perfect solution, but helpmed to have a insight on how to solve the question.
I created a table based on this tutorial with all the Weeks from my calendar table.
https://gorilla.bi/power-query/date-table-with-monthly-increments/
Them I used Added a Collum:
Opened Actions =
COUNTROWS(
FILTER(
'AllActions',
'AllActions[Created Date] < 'tb_Followup '[Date] && ('AllActions[Closed Date] > 'tbFollowup'[Date] || 'AllActions[Closed Date] = BLANK())
))
Hi,
I just responded to a similar post here. Please see the link which i have shared there.
It was not the perfect solution, but helpmed to have a insight on how to solve the question.
I created a table based on this tutorial with all the Weeks from my calendar table.
https://gorilla.bi/power-query/date-table-with-monthly-increments/
Them I used Added a Collum:
Opened Actions =
COUNTROWS(
FILTER(
'AllActions',
'AllActions[Created Date] < 'tb_Followup '[Date] && ('AllActions[Closed Date] > 'tbFollowup'[Date] || 'AllActions[Closed Date] = BLANK())
))
You can consider the following:
Measure =
CALCULATE (DISTINCTCOUNT(Actions[Action Name]), ALLEXCEPT(tb_Calendar[Month]),FILTER(Actions,Actions[Status]="Open"))
Proud to be a Super User! | |
Hi,
Thanks for the reply, but I believe it doesn't work.
The Status "Open" changes over time. So...In January an action might have been as "Open" and now It can show as "Closed".
I need to compare the dates.
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |