Forum Discussion

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

Changing Total Value based on Date Slicer

Hello,   I am trying to get the total per column as a cell in the table visual based on a date filter. Here is some sample data:   Date Volume 1/1/2021 5 1/2/2021 10 1/3/2021 15 ...
  • parry2k's avatar
    5 years ago

    kirbynguyen add a measure:

     

    total for selected dates = 
    CALCULATE ( SUM ( 'Table'[Volume] ), ALLSELECTED() )

     

    Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.