Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I ve tried rolling 12 month dax in the visual but when I select 12 months it doesn't show me full data for last year 1st month(Aug).But when I select 13 months it show me the full data for (Aug).
Dax I used:-
@mannyjha7860 , datediff in case of current month is 0, if you need last 12 month excluding current, then it should be
Rolling 12 Months = var daydiff=DATEDIFF('Calendar'[Date],TODAY(),MONTH ) return
IF(daydiff>0 && daydiff<=12,"last 12 months","not last 12 months")
User | Count |
---|---|
21 | |
19 | |
12 | |
9 | |
7 |
User | Count |
---|---|
30 | |
27 | |
14 | |
13 | |
11 |