Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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 |
| 1/4/2021 | 20 |
| 1/5/2021 | 25 |
| 1/6/2021 | 30 |
| 1/7/2021 | 35 |
| 1/8/2021 | 40 |
| 1/9/2021 | 45 |
The measure would calculate the total of Volume based on a date slicer, so a sample output based on 1/1/2021-1/5/2021 would be:
| Date | Volume | TotalVolume |
| 1/1/2021 | 5 | 75 |
| 1/2/2021 | 10 | 75 |
| 1/3/2021 | 15 | 75 |
| 1/4/2021 | 20 | 75 |
| 1/5/2021 | 25 | 75 |
If the slicer was 1/1/2021 - 1/3/2021, we'd get 30 for TotalVolume instead of 75. So we want the TotalVolume to be based on the date slicer.
Please help and thanks in advance!
Solved! Go to Solution.
@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.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@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.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 118 | |
| 38 | |
| 36 | |
| 29 |