March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I created a measure that counts the total items per month and it's working fine. This is my measure:
Cumulative_Total =
CALCULATE([Qtd_Total],
FILTER(ALL('Table'),
'Table'[Date] <= MAX('Table'[Date])
)
)
But I want my chart to reset the count when the user selects only one year in the dashboard year filter.
For example: if he selects only the items from 2022, the chart will start from zero in the month of January, and not take the count of the previous months (2021) and add to the months of the year 2022. How can I do this?
Solved! Go to Solution.
Please try to include date to your filters like below.
Or (perhapse better) use ALLSELECTED instead of ALL/ALLEXCEPT.
Cumulative_Total =
CALCULATE([Qtd_Total],
FILTER(ALLEXCEPT('Table','Table'[Date]),
'Table'[Date] <= MAX('Table'[Date])
)
)
Please try to include date to your filters like below.
Or (perhapse better) use ALLSELECTED instead of ALL/ALLEXCEPT.
Cumulative_Total =
CALCULATE([Qtd_Total],
FILTER(ALLEXCEPT('Table','Table'[Date]),
'Table'[Date] <= MAX('Table'[Date])
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
120 | |
77 | |
59 | |
53 | |
40 |
User | Count |
---|---|
193 | |
106 | |
88 | |
62 | |
51 |