This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I am using filters to establish list of customers who have certain last order dates. I have used relative date feature to get customers who have orders in last 30 days - but how can I use this for customers between (for example) 31-90 days?
I'm currently manually inputting last order date each time I refresh the model, which is useable given I have a small number of cohorts, but not ideal.
Thanks,
Solved! Go to Solution.
Hi @Stuartw1988
You can try this method
(1) create the table below, use it in slicer
(2) create the measure, use it to filter table
filter = IF(MIN('FactTable'[Start Date])<=SlicerDays[SlicerDate1] && MIN('FactTable'[Start Date])>=[SlicerDate2],1,0)
you can put it in visual level filter,
For more please check the sample file attached below.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Stuartw1988
You can try this method
(1) create the table below, use it in slicer
(2) create the measure, use it to filter table
filter = IF(MIN('FactTable'[Start Date])<=SlicerDays[SlicerDate1] && MIN('FactTable'[Start Date])>=[SlicerDate2],1,0)
you can put it in visual level filter,
For more please check the sample file attached below.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Rolling 31-90 =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today()) -31
var _min = _max -90
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
or
Rolling 31- 90 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ])-31,-60,DAY))
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 29 | |
| 20 | |
| 19 |