Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: WebI classify a title

$
0
0

Hi Arijit Das,

 

As the way you show me, i got the count of all titles that belong to "others" [11803]. I continue divide them into 2 groups: "Shows&Series" and "Movie".

Shows&Series and Movies are exclusive group.

Besides, a title is considered for Shows&Series firstly. If it does not, it is considered if it belongs to Movies.

All titles belong to a movie if their TMSID starts with "MV". 

All titles that starts with anything other than "MV" belong to "Shows&Series".

 

I created variable v_IsShowsTemp = If ([v_FlagToClassify2] = "Others") Then (If Substr([TMS ID];1;2) <> "MV"  Then "S" Else "M")

v_IsShows= If(Count([v_IsShowsTemp]) In ([Title]) > 1 And [v_IsShowsTemp] = "M";"";[v_IsShowsTemp])

 

I drag and drop these dimensions (Title;TMS ID;v_FlagToClassify2;v_IsShows) into block, then i filter by v_IsShows and insert a count for each group.

the count for Shows&Series is 8644.

the count for Movies is 3159.

The total of the count for Shows&Series and the count for Movies is equal to 11803.

 

However, when i create variable v_count_shows = Count([Title] Where ([v_IsShows] = "S"))

v_count_Movies = Count([Title]) Where ( [v_IsShows] = "M"))

 

the results which i got is the same with the above.

i try many ways to edit the formulas but they are not not effective.

Please help me!


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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