Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Do you have sample data?
@Anonymous
Create a measure based on month and slicer will work accordingly
Measure = TOTALYTD(
SUM('Table'[Amount]),
'Table'[Month]
)
@Anonymous - Try this
YTD= TOTALYTD(SUM('Table'[Amount]),'Table'[Month]
)
Measure=
var LMonth = MAX('Table'[Month]) //Last Month
return
if(min('Table'[Month])<=LMonth,[YTD])
BOth are measures. create the first obe (which you already have) and the second measure will call first measure
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |