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
Hi,
I have added 2 measures in my report using Time Intelligence to calculate Total sales of last year today.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Solved! Go to Solution.
Hi @aj1973 ,
You can try this measure:
Sales YTD Last Year =
CALCULATE (
SUMX (
FILTER (
SALES_HISTORY_HEADER;
DATESBETWEEN (
SALES_HISTORY_HEADER[IN_DATE];
[First day of previous year];
TODAY () - 365
)
);
SALES_HISTORY_HEADER[BVSUBTOTAL]
)
)
Could you please share your sample data and excepted result to me if you don't have any confidential Information. Please upload your files to One Drive and share the link here.
Hi @aj1973 ,
You can try this measure:
Sales YTD Last Year =
CALCULATE (
SUMX (
FILTER (
SALES_HISTORY_HEADER;
DATESBETWEEN (
SALES_HISTORY_HEADER[IN_DATE];
[First day of previous year];
TODAY () - 365
)
);
SALES_HISTORY_HEADER[BVSUBTOTAL]
)
)
Could you please share your sample data and excepted result to me if you don't have any confidential Information. Please upload your files to One Drive and share the link here.
Here is a Picture to explain the scenario, sorry i am not able to upload or attach a dummy.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |