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.
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,
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 |
|---|---|
| 33 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 28 | |
| 24 | |
| 22 |