Formatting

I have a formatting question regarding the expression below

The lookup set yields multiple Intervention Types with multiple comment reasons

The results currently displays as follows:

PA-Call to PMD

No ans. Left message.PACalled Insurance Company. PA spoke with Medical Director

Is it possible to group the results?

PA-Call to PMD

No ans. Left message

PACalled Insurance Company.

PA spoke with Medical Director

=Join(LookupSet(Fields!Account_Number.Value,Fields!Account_Number.Value, Fields!Intervention_Type.Value, "Interventions") , vbcrlf & Join(Lookupset(Fields!Account_Number.Value,Fields!Account_Number.Value,Fields!Intervention_Comment.Value, "Interventions"), vbcrlf))

Thank you in advance

September 8th, 2015 3:04pm

Hi MLOG, 

According to your description, you want to format the text box, right? 

In Reporting Services, we can use "VbCrLf" to format the strings. For you requirement, please refer to the following expression:

="111" + VbCrLf + "222" + VbCrLf + "333" 

The result is like below: 

If you have any other question, please feel free to ask. 

Regards,
Shrek Li

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2015 10:32pm

Hi MLOG,

Try this

=Fields!YourColumn.Value.ToString().Replace(".",vbCrLf)

September 9th, 2015 12:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics