Forum Discussion

sekinod's avatar
sekinod
Icon for Helper II rankHelper II
5 years ago
Solved

Get Summary by Customer

My Data Table like this   Every customer has a unique NoteDate and Amount but several Post Dates. So in the power bi report, I want to get a table visual like below. The amount is group by N...
  • Fowmy's avatar
    5 years ago

    sekinod 

    Try the following measure:

     

    Amount Measure = 
    
    SUMX(
        VALUES(Target[Customer]),
        CALCULATE(MAX(Target[Amount]))
    )
    
    ---------------------------OR--------------------------------
    
    Amount Measure = 
    SUMX(
        SUMMARIZE( Target , Target[Customer] , "_Amount", MAX(Target[Amount] ) ),
        [_Amount]
    )

     

    ________________________

    If my answer was helpful, please click Accept it as the solution to help other members find it useful

    Click on the Thumbs-Up icon if you like this reply 🙂


    Website YouTube  LinkedIn