Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I need help to solve my problem... 😞
I got one Table with my item list (id and name)
And I got one table with my datas about them :
id, intervention_date, intervention_label
2 03/02/2020 blabla
2 04/02/2020 maintenance1
3 06/02/2020 maintenance1
4 07/02/2020 blabla
2 10/02/2020 maintenance1
3 15/02/2020 maintenance2
...
And I would have this result :
item, nb maintenance1
1 5
2 3 (cause -> 5-2 "maintenance1")
3 5 (cause -> 5-0 "maintenance1" from the last "maintenance2")
4 5
I don't know if I'm clear...
Let me know!
Thanx for all!
Solved! Go to Solution.
Hi @Anonymous ,
You can use a calculate like this:
CALCULATE(COUNT([FIELD]),[DATA_FIELD]>DATE(YEAR,MONTH,DAY),otherfilter)
Let me know if this is what you were looking for.
Best Regards,
DR
Hi @Anonymous ,
You can use a calculate like this:
CALCULATE(COUNT([FIELD]),[DATA_FIELD]>DATE(YEAR,MONTH,DAY),otherfilter)
Let me know if this is what you were looking for.
Best Regards,
DR
Thanx, sorry,
I used :
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |