Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Team,
I need help to calculate sales with a specific start date.
I need something like that:
Solved! Go to Solution.
Hey @Anonymous ,
you can change the filter context with the CALCULATE function.
The following approach should work:
Sales since January 6 2022 =
CALCULATE (
SUM ( Append1[Sales] ),
'Date'[Date] >= dt"2022-01-06" && 'Date'[Date] <= TODAY ()
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Hey @Anonymous ,
you can change the filter context with the CALCULATE function.
The following approach should work:
Sales since January 6 2022 =
CALCULATE (
SUM ( Append1[Sales] ),
'Date'[Date] >= dt"2022-01-06" && 'Date'[Date] <= TODAY ()
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |