Forum Discussion

M0n5ta09's avatar
M0n5ta09
Helper I
3 years ago
Solved

Column Values based on Rank and Date

Hi,   I have the table below which uses RANKX to show the occurrence of each employee for each day.   RANKX ( FILTER ( 'TABLE', 'TABLE'[Employee] = EARLIER ( 'TABLE'[Employee] )     && 'TABLE'[...
  • Ashish_Mathur's avatar
    Ashish_Mathur
    3 years ago

    Hi,

    Try this calculated column formula

    Status = if(Data[Employee rows]=2,if(Data[Rank]=1,BLANK(),CONCATENATEX(filter(Data,Data[Employee]=EARLIER(Data[Employee])&&Data[Date]=EARLIER(Data[Date])),Data[Code],"+")),Data[Code])

    Hope this helps.