I want to create two condition objects in a Universe that will represent “FIRST_DAY_OF_MONTH” and “LAST_DAY_OF_MONTH” in order to use them as prompts in a monthly scheduled report but the problem is that i don’t know how to use the BO functions in the editor…
I am using IBM DB2 and i managed to create the query that creates the first and last day of previous month but the conditions don’ t parse and in the integrity check i get an error…
They won’t parse because they aren’t associated with a table.
In SQL Server, for example, current date is getdate()
If you tried to parse that in Designer, it would generate “SELECT getdate() FROM” as SQL code, which would not parse.
As soon as you use objects from tables (or views, derived tables, etc.) within your query then it will work fine.
In Db2 if we implement t below formula & try to check the values(display) then we get err during SQL generation The query does not references a table (QP0007) …IS this t normal behavior?
If we reference a single table which has dates in select table option then the formula would parse… If we have multiple tables with multiple dates then it can’t be parsed… But it would we work in the report with other objects