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.
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)))
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 |
---|---|
107 | |
106 | |
87 | |
73 | |
66 |
User | Count |
---|---|
125 | |
114 | |
98 | |
81 | |
73 |