Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Can I extract a data item from a field that contains many data items?

$
0
0
Any help would be appreciated please.I have set up a simple report that shows date, timeslot and reason for visit. However the timeslot displays in order that the order was processed and I get for example:Date Timeslot Reason 24/11/14 1300-1800 Repair TV 24/11/14 0800 - 1200 Repair TVSo even though on 24/11/14 we have a morning appointment booked, it appears on the report after the afternoon one, because the office handled the call requesting a PM booking first.So what I would like is for the timeslot to show to earlier times first: Date Timeslot Reason 24/11/14 0800 - 1200 Repair TV 24/11/14 1300 - 1800 Repair TVThis would normally be simple but data for timeslot comes from a field which contains several items of data (fields!businessnamevalue), where several pices of information are gathered, eg timeslot, customer's name, reason for visit etc. This data is organised in the report as:=switch(fields!businessname.value = "TIME", "timeslot", fields!businessname.value = "CustName", "Customer's Name")So my issue is, can the field (fields!businessname.value) be 'split up' in any way other than by using switch, so I can sort my report so the timeslot shows morning appointments before pm appointments?Thanks

Viewing all articles
Browse latest Browse all 2791

Trending Articles