Created
February 11, 2020 18:01
-
-
Save levi-turner/46192367556cb38f5c4dccf06c047be4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Orders: | |
Load | |
*, | |
Date((OrderDate) + Floor(Rand()*45)) as ShipDate; // preceding load which loads after the previous calcs so we can add values to OrderDate | |
Load | |
chr(round(25 * rand() + 65)) & chr(round(25 * rand() + 65)) & chr(round(25 * rand() + 65)) as Customer, // Customer name between AAA and ZZZ | |
round(1000000 * Rand()) as Target , // Target Revenue between 0 and 1,000,000 | |
Date((Today()-600) + Floor(Rand()*600)) as OrderDate // Random Dates | |
AutoGenerate 50; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment