lauriesamh
Technical User
Hi, I'm using CR10 and have a report grouped as follows
GR#1 Store ID
GR#2 employee ID
GR#2 Txn
Details (multiple lines per txn)
I need to find a percentage random sample of the txns over the entire report (each store & employee). I can't change the grouping of the report though.
I created a field @Random Txn = Rnd() and placed it in GR#2 header. I also have a running total of each Txn. @RTotal0.
I used a supression formula in the detail:
{#RTotal0} > ({?Show X Percent of Claims}/100) * DistinctCount ({table.TXN_ID})
It pulls the correct percentage of TXN correctly but it is only pulls from the first or second stores and employees. Is there a way I could pull randomly say 2% of total Txn across all stores & employee's txn without changing the base grouping and sort of the report?
GR#1 Store ID
GR#2 employee ID
GR#2 Txn
Details (multiple lines per txn)
I need to find a percentage random sample of the txns over the entire report (each store & employee). I can't change the grouping of the report though.
I created a field @Random Txn = Rnd() and placed it in GR#2 header. I also have a running total of each Txn. @RTotal0.
I used a supression formula in the detail:
{#RTotal0} > ({?Show X Percent of Claims}/100) * DistinctCount ({table.TXN_ID})
It pulls the correct percentage of TXN correctly but it is only pulls from the first or second stores and employees. Is there a way I could pull randomly say 2% of total Txn across all stores & employee's txn without changing the base grouping and sort of the report?