
Creator
2024-06-20
03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to create a new dimension split by Comma and count the value
My Dataset is like below.
Product |
Apple,Orange |
Apple |
Orange |
Orange, Banana |
Banana |
Apple,Orange,Banana |
Then I create a new dimension : SubField([Product],',',1) as New Product.
Product |
Apple |
Orange |
Banana |
May i ask what expression that i can use to count the product . I want the result as below.
Product | Count |
Apple | 3 |
Orange | 4 |
Banana | 3 |
338 Views
1 Reply


Master
2024-06-20
06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
See this post that may help
you shall create a ID field with rec no or rowno() function in script
regards
302 Views
