on 11-08-2017 7:33 AM
I am using BO 4.1 Sp06,
Sql 2014.
I want to display a stock level on every business date in webi.in a chart
when there is no data for a business date, it should show data from previous date .
I don't have problem with that.
My issue is I don't have all the dates in table it will have date only if there is any transaction happens.
Basically stock level= current stock-(scheduled deposit + scheduled orders)
= A-B
here dates are coming from B, and it will have dates only if there is any scheduled deposit or order on that day else date doesn't exist in the table.
For that reason I need an object to get all the dates and then I can further will be able to filter to get business dates and all.
I don't have any table in DB to get all dates
have you tried with Timedim() function in webi?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need calendar table in universe to get the continuous dates.if you have calendar table then you can create object in the universe and later can add one more query in webi to get all dates.
You can get the business dates (Mon to Fri) in webi also with function dayname() to exclude Sat and Sunday.
See it is something like this on the report, where it should show me continues 5 days from the day I start, I hope I am not confusing you more.
this should show 17th, 18th, 19th, 20th, 21th assuming all are business dates only first 5 business dates, but as you can see there is no data for 20th and 21st for which I need calendar dates
to get this business dates I am filter data at query level to avoid holidays(we have a holiday table)
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.