Forum Discussion

Seth4040's avatar
Seth4040
Regular Visitor
1 year ago
Solved

AP Data SUM based on multiple variables

I need some help being able to SUM this data Account Payable raw data in which has Invoice #, Inv Amount, GL Acct, Line Amount, Reviewer Group and OPS Center.  I always want to see how much in being ...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Seth4040 

     

    Thanks for the reply from samratpbi .

     

    Seth4040, not quite sure what your desired result is, I used the following measure to calculate the sum of the Line Amount of the two OPS Centers in the sample data.

     

     

    Total Inv Amount = 
    SUMX(
        SUMMARIZE(
            'Table',
            'Table'[OPS Center],
            "LineAmount", MAX('Table'[Line Amount])
        ),
        [LineAmount]
    )

     

     

    Output:

     

    If you need further help, please feel free to let me know. It would be even better if you could give expected results based on example data. Please remove any sensitive data in advance.

     

    Best Regards,
    Yulia Xu

     

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