Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All
I need to convert the data in the filed(last_accessed_page),
for example data in the field(last_accessed_page )are like,
last_accessed_page
1,1,1
1,1,2
1,1,3
(Above 1,1,1 specifies page number=1)
i need to format this and display it like 1,2,3
dimension:
last_accessed_page
measure:
Count({<subject_status={'incomplete'}>}last_accessed_page)
Data Load Editor:
LOAD `subject_access_track_id`,
`subject_name`,
`client_id`,
`lender_offer_id`,
`subject_status`,
last_accessed_page;
SQL SELECT `subject_access_track_id`,
`subject_name`,
`client_id`,
`lender_offer_id`,
`subject_status`,
`last_accessed_page`
FROM SUBJECTACCESSTRACKING;
load *, SubField(last_accessed_page,',',3) as NewField;
LOAD `subject_access_track_id`,
`subject_name`,
`client_id`,
`lender_offer_id`,
`subject_status`,
last_accessed_page;
Using the subfield function on '1,1,2' returns just the last character of 2
subfield( '1,1,2' , ',' , 3 )
So maybe in your load script maybe use something like :
subfield(last_accessed_page,',',3) as [Page Number] ,
load *, SubField(last_accessed_page,',',3) as NewField;
LOAD `subject_access_track_id`,
`subject_name`,
`client_id`,
`lender_offer_id`,
`subject_status`,
last_accessed_page;
Ok thank you for that,
but instead of subfield(last_accessed_page,',',3) (ie instead of 3 can i place #)
Sorry i think u understood in other way,
last_accessed_page
1,1,1
1,1,2
1,1,3
It should be
1
2
3
Give it a try. I think I understand your needs and my suggestion should work.
That's what I'm doing :
Thanks for that,,,it worked
Page numbers are skipped!!!
Go under aspect , x-axis: