Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all!
I have a report with a year and month slicer and a simple bar visual that shows me the running total per Month.
Now I have the issue if I select 2 years, then I get an error.
MTD =
CALCULATE (
[Sales],
FILTER (
ALL ( 'Calendar' ),'Calendar'[Date]
<= MAX ( 'Calendar'[Date] )
&& 'Calendar'[Month Number]
= MAX ( 'Calendar'[Month Number] )
)
)
How can I still get a running total for each moth based on the selected year(s) and months?
User | Count |
---|---|
57 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
85 | |
54 | |
39 | |
21 | |
18 |