Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bhmiller89
Helper V
Helper V

Time Lapse

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@bhmiller89

 

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 -

JobReport.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

So MAX_WorkDate will give you number of days.

 

Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@bhmiller89

 

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 -

JobReport.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

So MAX_WorkDate will give you number of days.

 

Regards

Anonymous
Not applicable

@bhmiller89

Can you please post some sample data to better explain your requirement.

 

Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.