I have a table of categories with corresponding category path and visitors. Like the table below:
ID | Category Name | Category Path | Visitors | % Seg |
123 | A Airlines | Travel and Tourism -> In-Market -> Airlines | 1000 | 100/10000 |
124 | B Airlines | Travel and Tourism -> In-Market -> Airlines | 1500 | 1500/10000 |
125 | C Airlines | Travel and Tourism -> In-Market -> Airlines | 2000 | 2000/10000 |
126 | D Airlines | Travel and Tourism -> In-Market -> Airlines | 2500 | 2500/10000 |
200 | In-Market | Travel and Tourism | 10000 | |
I need to create a "% of Segment" beast mode, whose calculation is Visitor (for each airline)/ Visitor (In-market), so I need my denominator to be static - 100000 - in the beast mode. The beast mode I'm having right now is `Visitor`/(case when `ID`=200 then `Visitor` end), which doesn't work. How can I have that number other than manually typing in?
Thank you for any idea on how to solve it!