This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi team,
I need to show only previous month and next five months data in power query. i have tried with DAX its working but its not working in slicer.
suppose my data is like below, i need to show only previous and next 4 months data as highigheted in screenshot.
Regards,
Kusa
pls try this
= Table.SelectRows(#"Changed Type",
each [Date] >=Date.StartOfMonth( Date.AddMonths( Date.From( DateTime.LocalNow()),-1))
and [Date]<= Date.EndOfMonth( Date.AddMonths( Date.From( DateTime.LocalNow()),3)))Check out the April 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 |
|---|---|
| 35 | |
| 31 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |