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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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