Hello,
I need to get data from Aug 21 to Sept 21, but i dont want to use "Previous month", if not something like "current month -1", it´s possible?
Thanks
Hi @Luis98
Previous is the best way to go about it if you consider engine load on Anaplan but you can also use LAG or OFFSET. The least efficient would be to do a Month-1 and then lookup basis that.
There is a beautiful thread comparing these 4 functionalities which you can find here: https://community.anaplan.com/t5/Anaplan-Platform/Performance-Comparison-OFFSET-LAG-PREVIOUS-LOOKUP/td-p/51140
Let me know if this is helpful 🙂
@ankit_cheeni haha!
Assuming you have a date column named date_column in your database table, you can construct a query like this to retrieve b2b data enrichment from August 21st to September 21st of the previous month:
date_column
SELECT * FROM your_table WHERE DATE_SUB(CURDATE(), INTERVAL 1 MONTH) >= DATE_FORMAT(date_column, '%Y-%m-21') AND CURDATE() < DATE_FORMAT(date_column, '%Y-%m-21');
In this query:
CURDATE()
DATE_SUB(CURDATE(), INTERVAL 1 MONTH)
DATE_FORMAT(date_column, '%Y-%m-21')
The WHERE clause checks if the date in date_column falls between the first day of the previous month (inclusive) and the first day of the current month (exclusive), effectively giving you data from August 21st to September 21st of the previous month.
WHERE
You can adjust the your_table and date_column placeholders in the query to match your specific table and column names.
your_table
I have A6 as the parent list and two sibling lists: A6.5 and A7. The A7 list includes an attribute that maps to A6.5. In the UX, the user will select A6.5 using a content selector, and the grid (dimensioned by A7) should display only the A7 items associated with that selected A6.5. Since the selector is a page context and…
A quick reminder of the Bulk Copy functionality. Bulk Copy allows you copy large volumes of data from one slice of a model to another in a single, optimised operation, instead of using formulas or imports. Use case: copy a version (RF1) into a prior year version (PY RF1) using a versions list to allow for year-on-year…
We are looking for Anaplan end-users to provide feedback on their experiences with the Excel add-in. Interested individuals will respond to this 5-minute survey to help us understand personal needs and behavior when using the add-in. The feedback provided by survey takers is essential to the roadmap of Anaplan's products.…