07-30-2020
paulrockliffe
Obsidian | Level 7
Member since
10-18-2016
- 100 Posts
- 5 Likes Given
- 0 Solutions
- 2 Likes Received
-
Latest posts by paulrockliffe
Subject Views Posted 1513 05-21-2020 02:11 PM 1550 05-21-2020 12:58 PM 1571 05-21-2020 12:16 PM 1633 05-18-2020 02:40 PM 1645 05-18-2020 02:13 PM 1660 05-18-2020 11:57 AM 1694 05-18-2020 08:26 AM 1704 05-18-2020 06:45 AM 5080 05-02-2020 05:47 AM 5074 05-02-2020 05:28 AM -
Activity Feed for paulrockliffe
- Got a Like for SQL to Filter with an existing table. 07-23-2021 01:30 PM
- Posted Re: Adding a Calculated Field When Joining Two Tables via a Hash Table on SAS Enterprise Guide. 05-21-2020 02:11 PM
- Posted Re: Adding a Calculated Field When Joining Two Tables via a Hash Table on SAS Enterprise Guide. 05-21-2020 12:58 PM
- Posted Adding a Calculated Field When Joining Two Tables via a Hash Table on SAS Enterprise Guide. 05-21-2020 12:16 PM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-18-2020 02:40 PM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-18-2020 02:13 PM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-18-2020 11:57 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-18-2020 08:26 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-18-2020 06:45 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-02-2020 05:47 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-02-2020 05:28 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-02-2020 04:14 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-02-2020 04:13 AM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-01-2020 03:35 PM
- Posted Re: Appending Tables With Dates in the Table Names on SAS Programming. 05-01-2020 02:28 PM
- Posted Appending Tables With Dates in the Table Names on SAS Programming. 05-01-2020 09:39 AM
- Posted Re: Looping a Parameter in a Program in EG on SAS Enterprise Guide. 03-12-2020 12:56 PM
- Posted Re: Looping a Parameter in a Program in EG on SAS Enterprise Guide. 03-12-2020 12:41 PM
- Posted Re: Looping a Parameter in a Program in EG on SAS Enterprise Guide. 03-12-2020 06:19 AM
- Posted Re: Looping a Parameter in a Program in EG on SAS Enterprise Guide. 03-11-2020 12:24 PM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 1 1 1 -
My Liked Posts
Subject Likes Posted 1 04-17-2019 10:10 AM 1 02-20-2018 06:57 AM
06-03-2019
07:17 AM
Enterprise Guide 5.1, I'm using (and only able to use) the Export as Step in Project Wizard. It's started adding an extra blank line at the end of the .csv file. The result is that when I import the data into Excel I get a "(blank)" option in my slicers, which is untidy, but all my page headings and explanations of what's visible is linked to a filtered pivot table that takes a value if there's only one value in the column - the "(blank)" shows as a second option here and breaks my formulas. I've tested the issue and I can open the .csv files in Notepad and delete the extra line, once I've done this for 7 .csv files and updated the data in Excel the issue goes away, so it looks like the issue is the export, rather than the import. This has just started today, having been fine in the past. The manual fix isn't practical as I'm exporting 7 files and running the process 20 times to get different data cuts, so I need a fix! Thanks
... View more
04-18-2019
03:45 AM
Hello, yes that's what I'm aiming for, except the horsepower values are dynamic and contained within another table. There are about 30,000 horsepower values, so I can't do this in any way that involves typing them out. The cars names follow a pattern, linked to the month they relate to, so they can't be typed either, but I was initially getting around that by using a hack in Excel to create that SQL. I'm happy to carry on hacking in Excel, if it's possible to do the filter entirely in proc sql, I've just hit a brick wall when I realised I couldn't extract all the tables and join them before I filter them because of the volume of data.
... View more
04-17-2019
10:10 AM
1 Like
I have a complicated setup with some data I need to pull into Enterprise Guide. I basically get a new table created on the server each month by a process, it contains all the information created in just that month. There is information there that relates to a huge number of entities, I'm interested in a subset of those entities only. I need to get that subset of information for the 60 latest tables. There's a lot of data so I can't practically pull the data from 60 tables and then filter it, I need to only pull the data I need in the first place. Each entity has an ID, I have a table in EG that lists the IDs I'm interested in. I have used Excel to generate SQL that will combine the tables I'm interested in, but I'm stuck when trying to filter the data at the same time. The SQL I have is in this format: select * from TABLE.MONTH1 union all select * from TABLE.MONTH2 union all select * from TABLE.MONTH3 etc etc etc How can I modify the query so that it only takes values where ID is in WORK.IDs? Thanks!
... View more
11-15-2018
06:14 AM
I have two servers, I have a complex process running on one server that uses data that is currently only available by importing from an Excel Spreadsheet. It's going to become available directly on the SAS server, but on the other server. I need to modify my process to access that data, but as I understand it I can't do that in any way other than by manually recreating my entire process flow because the two servers can't talk to each other and I can't tell a Step in a process to run on the other server without breaking it's relationship with the rest of the process. Does anyone have any thoughts on how best to achieve the change without setting aside a couple of weeks to manually recreate the flow?
... View more
10-18-2018
10:25 AM
Thanks, that's an option, but I'd still need to manually create the order of processing, so it's not a quick thing to do.
... View more
10-16-2018
05:09 AM
I have a process flow, it's quite complex with about 60 steps from start to finish. Some of the steps have the same names. The first step is to import an Excel spreadsheet, which takes about 50% of the processing time. Then I run the process flow about 20 times, with different filters applied each time to give me different outputs. I want to setup an Ordered List that I can run so that I can run the import once and then run everything else the 20 times through to save a load of time. It's going to take a bit of messing around to create the list in the right order from the obvious selection menu because they're in alphabetical order and some have the same names. Is there another way to create the Ordered List that would let me add everything, in the order it runs on my process flow, then I can just delete the first step to get what I'm after? Thanks!
... View more
07-05-2018
08:01 AM
Yeah, sorry, I'm a bit stuck for providing copies of files. All I can really say is that I've got a table that contains the percentage correctly, the export wizard creates the text file in EG (and the exported .csv file) with ***% in for the larger results and scientific notation for anything over 999% and less than 9E7%. All I can think is to try exporting different file types, but I'm n sure that will work.
... View more
07-05-2018
07:30 AM
Sorry, just picked up this post; I've already looked at that plugin, I can't install it as the windows desktop is also fully locked down. It's part of EG7.13 onwards, we're due an upgrade to....... 7.12 soon. 😞 I'm not sure it helps if I can't easily write to the server, but it may be an option to explore. Anyway, that's a side issue for now....
... View more
07-04-2018
03:44 AM
Thanks, I've tried changing the format to PERCENTN20. and rerun the flow. I have the dataset that is being exported still containing the correct number, the text file that the Export Wizard creates as the very next step still contains one ***%. Are there any setting hidden away that could cause this? It seems odd that it's doing this and also rounding percentages over 1000 into Standard Notation. Thanks again.
... View more
07-04-2018
03:19 AM
Ha ha, I'll Google that now and pass the message up the chain. There is a files area, but I can't write to it and there's no way to move files in and out of it even if I could. I've tried all sorts, I think there's a thread on here somewhere about it, from memory I managed to write to $HOME without it failing, but I can't see that folder to know if the file went and obviously can't get it out. There are reasons it was setup that way, though people are slowly coming round to the view that those reasons don't outweigh how restrictive it is. I spend a lot of my time building clunky workarounds so I can automate re-runs of projects as there's no way to automate the export bit of the process without server access!
... View more
07-03-2018
12:29 PM
Hello, thanks for your help! The percentage is given a length of 15 when it is created, which should be big enough shouldn't it? The format obviously gets carried forward throughout the process flow as it goes through numerous steps to get to the point it's exported. The length doesn't explain why every percentage over 1000 is being exported in scientific notation as that's only five characters long. I can't follow your solution as I can't write files to the server, I'm restricted to only using Export Wizard. Don't ask why, it's not something I can change and a huge cause of frustration. Cheers Paul.
... View more
07-03-2018
10:51 AM
I've got a dataset that I'm exporting from EG 5.1 using the Export Wizard, it has one large percentage in one of the columns, 220831262559% The number appears correctly in the dataset that is exported, but in the resulting .csv file it is written as ***% This opens in Excel as text and causes a Excel to throw a wobbly when averaging the results in a Pivot Table. Along similar lines I have a number of percentages that are coming out as 4.00E+07 or similar, these open in Excel as 40000000, which is fine, but it loses all of the resolution in the number. So there are 10 values of 1.00E+01, and I could do with knowing what the actual numbers are so they can be compared properly. What's going on and how do I fix it? Cheers
... View more
06-11-2018
03:47 AM
Thanks, I know how to create the Prompts, it's the rest of it that is new to me. If I'm in a Program within Enterprise Guide, is there a command that will cause Enterprise Guide to run a Process Flow or a Particular Query Builder node that exists in the Project? I think I can build the conditional loops I need, but I'm stuck on the above and Google isn't throwing much up! Thanks again.
... View more
06-08-2018
08:32 AM
I have a process that produces a large dataset. I have to deliver the data to Excel, but cut down into different subsets. I can do this easily enough fully automatically, however I have some statistics that I'm adding in that create rankings within each subset. I can do this as well, but the result is I end up with around 20 different columns for each statistic that I'm asked to produce. I'm basically being asked to identify whether an entity sits in the top 10 by whatever measure nationally, within it's sector, within it's region and a few other things. It's all very messy. What I would like to do is build the dataset for the whole population, with just one ranking column per statistic and then use prompts to control the population, so the data is filtered at the start and the rankings relate to just that population. But I don't want to lose the automatic running that I have wit the first method. Is there a way to setup a table with columns for each prompt variable and the variables for each subset of data I want to produce and then loop through the process flow so that it runs once for each subset I require using the correct prompt values? Ideally I'd like to use Export as Step in Process to drop the results out as .csv files, but I'd like to modify the file name to reflect the prompts being applied, so I end up with 20 .csv files correctly named automatically. I can't use any other method of outputting data as I have no write access to the SAS server, so I'm not sure this is possible. I know if I don't tick the over-write option I'll end up with the files, just with annoying names. Cheers! PS - SAS 5.1.
... View more
04-24-2018
10:25 AM
Hello, I have a table containing various Entities, each entity can have up to 5 reference numbers and each reference number can have an unlimited number of amounts associated with it. So 3 columns, Entity, Reference, Amount I want to extract a table that contains one result for each Entity and Reference combination and the largest Amount. I've done this before using the Sort task, but I can't get it to work where I'm grouping by more than one column in the Sort. Does anyone have any top tips? Thanks!
... View more