Forum Discussion

sameergupta60's avatar
sameergupta60
Helper IV
3 years ago
Solved

HELP on below query

Dear Team,

 

we need help on the below query attached screenshot.

 

 

 

data table in the screenshot we have levels, and the current RCC date if my RCC at 10 then the next column shows RCC date.

FL is not started if blank 

idle days are the calculation of Rcc at datediff(10-floor date, today, day)

 

Output needs in an attached screenshot

 

 

 

 

  • sameergupta60 , You can have  measures like

     

    Maxx(filter(Table, Table[Project] = max(Table[Project])  && [Level] = "R10") , Table[Date]) , selectedvalue(Date[Date], today()) , day)

     

    datediff(Maxx(filter(Table, Table[Project] = max(Table[Project]) && [Level] = "R10") , Table[Date]) , selectedvalue(Date[Date], today()) , Month)

1 Reply

  • sameergupta60 , You can have  measures like

     

    Maxx(filter(Table, Table[Project] = max(Table[Project])  && [Level] = "R10") , Table[Date]) , selectedvalue(Date[Date], today()) , day)

     

    datediff(Maxx(filter(Table, Table[Project] = max(Table[Project]) && [Level] = "R10") , Table[Date]) , selectedvalue(Date[Date], today()) , Month)