Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi I am currently trying to create KPIs using measures for jobs that are 0-3 months, 3-6 months etc
These came from week ending every friday, this spreadsheet is created from a sharepoint list with arrival date and completed date< i am trying to calculate these jobs on site: 0-3 months, 3-6 months I was given the defintion for these KPIs
Count of the number of Jobs which have an "actual arrival date" and a "Completed date" of after the end date of the report OR no "Completed date" populated. The arrival date should be between 91-180 days of the end date of the report, I tried the DAX code and had no luck
Solved! Go to Solution.
Hi @Anonymous
I made some modifications based on the code you provided.
Here's some dummy data
“Job Tracker”
The modified code is as follows:
Jobs On Site 6-9 months =
COUNTROWS(
FILTER(
'Job Tracker',
'Job Tracker'[Arrival Date] <> BLANK()
&&
ISBLANK('Job Tracker'[Completed Date])
&&
'Job Tracker'[Arrival Date] >= TODAY() - 270
&&
'Job Tracker'[Arrival Date] < TODAY() - 180
)
)
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I made some modifications based on the code you provided.
Here's some dummy data
“Job Tracker”
The modified code is as follows:
Jobs On Site 6-9 months =
COUNTROWS(
FILTER(
'Job Tracker',
'Job Tracker'[Arrival Date] <> BLANK()
&&
ISBLANK('Job Tracker'[Completed Date])
&&
'Job Tracker'[Arrival Date] >= TODAY() - 270
&&
'Job Tracker'[Arrival Date] < TODAY() - 180
)
)
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
68 | |
44 | |
37 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |