Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I have two date columns Case Opened Date and Case Closed Date. I looking to figure out a way to show when an item was in process. Ideally we would like to be able to say for the month of Januaray 2020 we had x items in process. The logic I tossed around was:
For every calendar day (from day of first case – today):
For each unique case:
If (today’s date >= case open date) & (today’s date < case closed date)
Then open case count = open case count + 1
If (today’s date >= case open date) & (today’s date > case closed date)
Then close case count = close case count + 1
I am not confident in my PowerBi skills to execute this properly.
Solved! Go to Solution.
Hi @gcompliance ,
I have modified the following measure.
close case count = COUNTROWS(FILTER(ALL('Items'),TODAY()>=[A-StartDate]&&TODAY()>[A-EndDate]&&NOT(ISBLANK([A-EndDate]))))
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gcompliance ,
I have modified the following measure.
close case count = COUNTROWS(FILTER(ALL('Items'),TODAY()>=[A-StartDate]&&TODAY()>[A-EndDate]&&NOT(ISBLANK([A-EndDate]))))
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gcompliance ,
Based on your description, you can create two measures as follows.
My test table:
open case count = COUNTROWS(FILTER(ALL('Items'),TODAY()>=[A-StartDate]&&TODAY()<[A-EndDate]))
close case count = COUNTROWS(FILTER(ALL('Items'),TODAY()>=[A-StartDate]&&TODAY()>[A-EndDate]))
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think I got closer with the help of your post.
I created an CalenderAuto and used this
Do you think this will work if the close date is blank?
Open Date 12/1/2020
Closed Date null
because the case has not closed yet.
@gcompliance , refer if this can help
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |