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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Any suggestions on creating a custom column to identify data for last month?
Date table shown below. If the currenly in October 2023. I would like to see only data from September 2023 to today. This should be dynamic from month to month.
This effort is to reduce the number of rows queried, improve performance.
Thanks!!
Julie Bunavicz
Solved! Go to Solution.
Here is one method that should work for you. Create a CustomColumn:
Date.IsInPreviousNMonths( [Date],1) or
Date.IsInCurrentMonth( [Date] )
Then apply a Filter for "True"
Hope this works for you.
Regards,
That works nicely. Thanks!!
Here is one method that should work for you. Create a CustomColumn:
Date.IsInPreviousNMonths( [Date],1) or
Date.IsInCurrentMonth( [Date] )
Then apply a Filter for "True"
Hope this works for you.
Regards,
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 |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |