Forum Discussion

eheres's avatar
eheres
Frequent Visitor
4 years ago
Solved

repeat last record for future sales

Hi Everyone,

 

Hope you can help me, I got some units by month, sales manager and type of product. But the thing is that i need to repeat the last record by sales manager, i know that is only a dax formula that im doing wrong. Can you help me please

 

Here is the data, thats what i got

 

ProductSales Rep Sic Dec-20  Jan-21  Feb-21  Mar-21  Apr-21  May-21  Jun-21  Jul-21  Aug-21  Sep-21  Oct-21  Nov-21  Dec-21  Jan-22  Feb-22  Mar-22 
CXRMoira             -               -               -               -               -               -               -               -               -               -               -               -               -                 1             -               -  
CXRFernanda             -                 6               6               6               5               5               5               5               4               3               2               2               2             -               -               -  
CXRRaul               6             -               -               -               -               -               -               -               -               -               -               -               -               -               -               -  
CX20John                   25            25            25            25            25            25   
CX20Andre            25            25            25            25            25            25            25         

 

 

Thats what i need

ProductSales Rep Sic Dec-20  Jan-21  Feb-21  Mar-21  Apr-21  May-21  Jun-21  Jul-21  Aug-21  Sep-21  Oct-21  Nov-21  Dec-21  Jan-22  Feb-22  Mar-22 
CXRMoira             -               -               -               -               -               -               -               -               -               -               -               -               -                 1               1               1
CXRFernanda             -                 6               6               6               5               5               5               5               4               3               2               2               2             -               -               -  
CXRRaul               6             -               -               -               -               -               -               -               -               -               -               -               -               -               -               -  
CX20John                   25            25            25            25            25            25            25            25            25
CX20Andre            25            25            25            25            25            25            25             -               -               -               -               -               -               -               -               -  

 

Thank you!

6 Replies