Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
my data looks as follows:
Genres:
Animation | Children | Comedy
Fantasy
Action | Adventure | Romance
Drama | Thriller
(and the list goes on, with each movie having various numbers of genres)
Am looking to use the sub field function to do an assessment on the Genres, would need some help here, thank you! 🙂
Error - Because, You are using same field with in the Single Load. Perhaps this?
LOAD MovieID,
Title,
Subfield(Genres, '|') as Genres
From Sample;
What you want from that data? May be
Subfield(FieldName, '|') as Output
One movie is tagged to a few genres and I would like to have a chart which shows the various genres and the number of movies per genre.
Your data structure not understand to me. Can you create proper data and expected result
My data file looks as follows:
I would like to create a chart which shows which genre is most popular.
I tried the following:
LOAD MovieID,
Title,
Genres
Subfield(Genres, '|') as Genres
But it did not return a result and was an error.
Error - Because, You are using same field with in the Single Load. Perhaps this?
LOAD MovieID,
Title,
Subfield(Genres, '|') as Genres
From Sample;
I see, thanks! Managed to get it to work now 🙂