Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
LeoYang
Contributor
Contributor

Across the table operation

Hello,

I have this data,(see image 1 below) .

I want to calculate the number of repair for the InstrumentID within 1 year after preventive maintenance(PM) .

How to write this metric.

  • The field name for the preventive maintenance(PM) is "Date-PM"

  • The field name for the repair is "Date-Repair"

  • This condition is "Date-PM < Date-Repair < Date-PM +365 days" 
  • The metric are run in a table (see image 2 below)

 

LeoYang_1-1641905243275.png

Image 1

LeoYang_2-1641905696293.png

Image 2

I'll be glad to have some help!!!

Thanks

 

 

 

 

Labels (1)
0 Replies