Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have this measure, that i want to stop at last closed month. Measure is the line value
Solved! Go to Solution.
@Anonymous , Try if this formula can help
bn 12 =
var _max = maxx(allselected('running 12'),'running 12'[SalesDate].[Date])
return
CALCULATE (
SUMX('running 12',[Salesrunning.PNG] ),
DATESINPERIOD (
'running 12'[SalesDate].[Date] ,
LASTDATE ( 'running 12'[SalesDate].[Date] ),
-12,
MONTH
) , 'running 12'[SalesDate].[Date] <= _max
)
or refer to this video, as I doubt above will give rolling 12 month : https://www.youtube.com/watch?v=duMSovyosXE
Sorry for missplacing pic. 😉
@Anonymous , Try if this formula can help
bn 12 =
var _max = maxx(allselected('running 12'),'running 12'[SalesDate].[Date])
return
CALCULATE (
SUMX('running 12',[Salesrunning.PNG] ),
DATESINPERIOD (
'running 12'[SalesDate].[Date] ,
LASTDATE ( 'running 12'[SalesDate].[Date] ),
-12,
MONTH
) , 'running 12'[SalesDate].[Date] <= _max
)
or refer to this video, as I doubt above will give rolling 12 month : https://www.youtube.com/watch?v=duMSovyosXE
Sorry 🙂 was a bit to fast in conclusion
It worked with a little twist from your video
Didn't work🤔
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |