Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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.
This formula:
I know I have February in my data set. Why is this happening? How can I fix it?
Try changing the DATESINPERIOD function to use the 'calendar'[Dates] column instead of the column from your data table
Hi @PhoebeK ,
There is no problem with the formula itself, the specific reason needs to be combined with the relationship between your data.
If your problem hasn't been solved, could you please provide more about your sample? It will help find the problem faster.
Best Regards,
Community Support Team _ kalyj
Hi @PhoebeK
You are utilizing an inactive relationship. Once I strangely faced an issue where the solution was to CROSSFILTER - None the active relationship. Worth nothing to try.
@PhoebeK , there nothing in screenshot one. Screenshot 2 is not having axis. What is missing.
eomonth(today(),-2) mean Jan -22 (we are in march now)
and rolling data for 12 month
also check
Rolling 12 Sales =
var _max = maxx(allselcted(date),date[date]) // or today()
var _min = date(year(_max), month(_max)-12,1)
return
CALCULATE(SUM(Sales[Sales Amount]),filter(date, date[date] <=_max && date[date] >=_min))
or
Rolling 12 Sales =
var _max = eomonth( today() ,-1) // eomonth( today() ,-2)
var _min = date(year(_max), month(_max)-12,1)
return
CALCULATE(SUM(Sales[Sales Amount]),filter(date, date[date] <=_max && date[date] >=_min))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
13 | |
12 |