on 04-20-2006 5:19 PM
I have an InfoObject called Time (0Time) which I want to include in a query. The object is part of my InfoProvider. The time is given in hours what I want to do is group the time so that I have three values represent morning afternoon and evening. How can I do this? Thanks
Hi Niten,
You can try creating a char structure and include 0TIME as a selection (actually you will need 3 such selections) and for each selection you can restrict the values as per the hours you want to designate as Morning, Afternoon and Evening.
Hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the rows part of the query designer, right click on the word Rows and select New Structure. In the Structure you see right click and select new Selection. Here make the selection by including 0TIME(drag and drop from left hand box). Right click 0TIME in the right hand side and Restrict. Restrict with values, like 00:00:01 to 12:00:00 (for Morning). Clcik OK. Change the description of the Selection to Say "Morning" and click OK. You can repeat by creating new selections for Afternoon and Evening.
You can save the structure and use it across multiple queries if reqd.
Hope this helps...
User | Count |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.