The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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,