Forum Discussion

AGR28's avatar
AGR28
New Member
4 years ago
Solved

Target Minus YTD, Wrong computation on current month

Hi, I have a problem with the December result of (Target-YTD(running total). Can u help me with what is wrong? because in previous months the results are all correct.

As per manual computation in Excel, the result in December should be 93,663,426.40.

 

Thank you so much in advance.

 

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi AGR28 ,

     

    Just Target minus YTD RT, it works on me.

    YTD RT =
    CALCULATE (
        SUM ( 'Table (2)'[MTD] ),
        FILTER ( ALLSELECTED ( 'Table (2)' ), [Month] <= MAX ( 'Table (2)'[Month] ) )
    )
    
    Diff T/YTD = [Target]-[YTD RT]

     

    You can check more details from the attachment.

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi AGR28 ,

     

    Just Target minus YTD RT, it works on me.

    YTD RT =
    CALCULATE (
        SUM ( 'Table (2)'[MTD] ),
        FILTER ( ALLSELECTED ( 'Table (2)' ), [Month] <= MAX ( 'Table (2)'[Month] ) )
    )
    
    Diff T/YTD = [Target]-[YTD RT]

     

    You can check more details from the attachment.

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.