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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello everyone,
i have two table
dim date with (date,month, year, fiscal year)
the fiscal year equal to
FY 2023 --> from 10/01/2022 to 09/30/2023
FY 2022 --> from 07/01/2021 to 09/30/2022
FY 2021 --> from 07/01/2020 to 06/03/2021
the second table is the sales tables (date, amount)
and i have a relation between this two table
In my report i have a fiscal year slicer
i want to calculate the YTD and the Last Year YTD in a matrix by month
thanks a lot,
thks for your answer but i test this method yesterday but this method limit to 12 months and in this FY (2022) i have 15 month !
maybe you have aanother idea
thanks a lot
@EdouardPBI , Try like
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"09/30"))
Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-1,Year),"09/30"))
Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 75 | |
| 41 | |
| 26 | |
| 26 |