[SOLVED] Query to Generate Randomized List of Records
Hi folks, I created a report to pull a list of records from a user specified date for managers to use to perform staff audits on claim files. From that list of records, the user only wants to see a randomized subset.
Anyone have ideas on how best to accomplish randomization?
NOTE: I am a non-technical business analyst and only have access to InfoAssist, not any of the technical programming tools.This message has been edited. Last edited by: Tamra,
WebFOCUS 8.10.5 Windows 10, HTML
May 14, 2016, 09:40 AM
StuBouyer
Probably the simplest way to do this is to add a COMPUTE - Data tab on Ribbon -> Summary(Compute) - with the following:
Then select the new field and sort and optionally put a limit.
We use this to show a random 10 entries for audit purposes
Cheers
Stu
WebFOCUS 8.2.03 (8.2.06 in testing)
May 16, 2016, 04:35 PM
Gavin B
Thanks for your example Steve. I learned that it is important to have plenty of decimal places to get a really broad result each time the query is run.