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
I have a column called "WorkDate" for Job Reports. Each Job Number has multiple Job Reports. I need to ultimately figure out how to show Job Numbers that have not had a Job Report entered within the last 90 days. I wrote a measure LastJR= MAX(WorkDate) but got stuck after that
Solved! Go to Solution.
You can use the below measure:
MAX_WorkDate = DATEDIFF(
CALCULATE(MAX(Job_Report[WorkDate]),ALLEXCEPT(Job_Report,Job_Report[JobNumber])),
NOW(),
DAY)
I assumed your data might look like below -
So MAX_WorkDate will give you number of days.
Regards
You can use the below measure:
MAX_WorkDate = DATEDIFF(
CALCULATE(MAX(Job_Report[WorkDate]),ALLEXCEPT(Job_Report,Job_Report[JobNumber])),
NOW(),
DAY)
I assumed your data might look like below -
So MAX_WorkDate will give you number of days.
Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |