Forum Discussion

eheres's avatar
eheres
Frequent Visitor
4 years ago

Repeat values between periods

Hi All,

 

Hope you can help me. I have to repeat the las t value between periods but onle ofr the people between that periods. Here is an example of what i got

 

 

thats what i need

 

Here is the table with the data

DateFleetSales Rep SicTypeValue
Dec-20M1576LSORIANOUnits10
Dec-20M1882JOPEREZUnits2
Dec-20M1206UQUINTANILLAUnits1
Dec-20M1206UQUINTANILLAUnits5
Jan-21M1576LSORIANOUnits8
Jan-21M1882RCABRERAUnits2
Jan-21M1206RFLORESUnits1
Jan-21M1206RFLORESUnits5
Feb-21M1576LSORIANOUnits7
Feb-21M1882RCABRERAUnits2
Feb-21M1206RFLORESUnits1
Feb-21M1206RFLORESUnits5
Mar-21M1576LSORIANOUnits6
Mar-21M1882RCABRERAUnits2
Mar-21M1206RFLORESUnits1
Mar-21M1206RFLORESUnits5
Apr-21M1576LSORIANOUnits5
Apr-21M1206RFLORESUnits5
May-21M1576LSORIANOUnits2
May-21M1206RFLORESUnits5
Jun-21M1206RFLORESUnits5
Jul-21M1206RFLORESUnits5
Aug-21M1576LSORIANOUnits2
Aug-21M1882RCABRERAUnits2
Aug-21M1206RFLORESUnits4
Sep-21M1576LSORIANOUnits3
Sep-21M1882RCABRERAUnits4
Sep-21M1206RFLORESUnits3
Oct-21M1882RCABRERAUnits4
Oct-21M1206RFLORESUnits2
Nov-21M1882RCABRERAUnits4
Nov-21M1206RFLORESUnits2
Dec-21M1882RCABRERAUnits4
Dec-21M1206RFLORESUnits2
Jan-22M1882RCABRERAUnits4
Jan-22M1206FBALLESCAUnits1
Feb-22M1882RCABRERAUnits4

 

Thank you!

9 Replies

    • eheres's avatar
      eheres
      Frequent Visitor

      thanks but when i aplied to the other fleets it doesnt work 😞

      • PijushRoy's avatar
        PijushRoy
        Community Champion

        If I create for all fleet, it will helps you?

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Community Champion

    create a date table, then create a relationship between the date column of these two table

    and try this measure

     

     

    • eheres's avatar
      eheres
      Frequent Visitor

      Thank you daniel it works great but i have to mantain the seasonality of the fleet by sales rep, for example in the fleet 1882 JOPEREZ has to be only in Dec 20 but from Jan21 to Feb 22 has to be only RCABRERA