Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Query to Generate Randomized List of Records

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Query to Generate Randomized List of Records
 Login/Join
 
Member
posted
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
 
Posts: 13 | Registered: April 13, 2016Report This Post
Guru
posted Hide Post
Probably the simplest way to do this is to add a COMPUTE - Data tab on Ribbon -> Summary(Compute) - with the following:

Field: RNDM (or anything else you like)
Format: 12.6
Expression: RDUNIF(RNDM)

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)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Member
posted Hide Post
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.

I appreciate your support!


WebFOCUS 8.10.5
Windows 10, HTML
 
Posts: 13 | Registered: April 13, 2016Report This Post
Member
posted Hide Post
Sorry Stu, I meant to thank YOU! Smiler


WebFOCUS 8.10.5
Windows 10, HTML
 
Posts: 13 | Registered: April 13, 2016Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Query to Generate Randomized List of Records

Copyright © 1996-2020 Information Builders