Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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
The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
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 :
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
87 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |