Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi,
I need to bucket # of days a case has been open as of today
My categories are
Less Than 30 Days
30 to 60 Days
61 to 90 Days
91 to 120
More than 120
Sample of my data
| CaseNumber | Date Opened | Date Closed | Case Status |
| A123 | 01/21/2023 | 02/01/2023 | Closed |
| A111 | 02/23/2023 | In Progress | |
| A222 | 03/05/2022 | Review |
My dax is as follows
Case Age Less Than 30 =
Solved! Go to Solution.
Hi @Unknowncharacte
You can create 2 measures :
1.count from today = DATEDIFF(max('Table'[Date Opened]),TODAY(),DAY)
2.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Unknowncharacte
You can create 2 measures :
1.count from today = DATEDIFF(max('Table'[Date Opened]),TODAY(),DAY)
2.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Would you be able to adjust so it shows counts like this? I am using this with another column - case owner, hence the names, I just wanted to show the final result I am after.
Hi @Unknowncharacte
Please share a link to pbix with your sample data
Here you go, not all categories will have data for them, data changes daily, and case counts for each category vary as well
Another attempt at the measure:
I think I got it:
@Unknowncharacte sorry , i am not near my computer , so didnt see apbix that you attached.
The logic of you formula seems very similar with my , so i think that it is good enough 😊
Mark the helpful responses as as solutions to help others.
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 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |