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 team,
I have a date table, and a data table, the three relevant columns from the data table are:
ID | Date Issued | Compliance Date |
1 | 1/01/2020 | 10/01/2020 |
2 | 5/01/2020 | 14/01/2020 |
3 | 13/01/2020 | 20/01/2020 |
4 | 16/01/2020 | 22/01/2020 |
I need 3 measures, 2 I've done, stuck on the third. My date table has an active relationship between Date and Date Issued, and an inactive relationship between Date and Compliance Date.
For the first measure, items raised on a given day, it's just a distinctcount of the id
For the second measure, items closed on a given day, it's
Solved! Go to Solution.
@Hickling , You can try a measure like one used in HR Analytics
CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
You can refer this blog
@Hickling , You can try a measure like one used in HR Analytics
CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
You can refer this blog
This is perfect, thank you!
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 | |
92 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
121 | |
111 | |
59 | |
57 |