Forum Discussion
annag815
6 years agoFrequent Visitor
Random Sample of Data
Hi, this is my first time posting here so apologies if I am doing something wrong. I am trying to return a table with a random sample of data. So far I have a new table: TableWithRand = VA...
- 6 years ago
annag815 - Equations that use SWITCH and IF to return different tables tend to fail. Create a variable, MySampleSize that chooses between SampleSize5 and SampleSize. Then use this in a single TOPN function.
Greg_Deckler
6 years agoCommunity Champion
annag815 - Equations that use SWITCH and IF to return different tables tend to fail. Create a variable, MySampleSize that chooses between SampleSize5 and SampleSize. Then use this in a single TOPN function.
- annag8156 years agoFrequent Visitor
Yup that fixed it. Thank you!!!