Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

I Have A Name Field (last, First, title) I Need to Break Into Separate Variables

$
0
0

I have a Webi report with a variable passed from the universe as NAME where the name is the person's last then comma then first and comma and title (i.e.  Smith, John, Mr.)

 

I want to create three separate variables to use in columns in a report like: 

 

from:

NAME
Smith, John, Mr.
Jones, Samuel, Prof.

 

 

to:

LASTFIRSTTITLEDETAIL
SmithJohnMr.Department Head
JonesSamuelProf.Staff

What code can be used to take the NAME field and parse it into three separate variables so to be used in a table like the sample above? Is there a way in Webi design to get all characters starting at position 1 up to the first "comma" and parse it out, then look for a "mid" set of characters between commas, and parse into another variable and lastly take the "RIGHT" side characters up to the first comma to the left of the right most character?


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>