<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chris Camp on Medium]]></title>
        <description><![CDATA[Stories by Chris Camp on Medium]]></description>
        <link>https://medium.com/@champybh?source=rss-92dc56952b86------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GMaTeVmzwz_GRtUFkIwXvg.png</url>
            <title>Stories by Chris Camp on Medium</title>
            <link>https://medium.com/@champybh?source=rss-92dc56952b86------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:47:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@champybh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I like to move it move it: Moving data into a Data Warehouse]]></title>
            <link>https://medium.com/@champybh/i-like-to-move-it-move-it-moving-data-into-a-data-warehouse-b72db3a86e04?source=rss-92dc56952b86------2</link>
            <guid isPermaLink="false">https://medium.com/p/b72db3a86e04</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Chris Camp]]></dc:creator>
            <pubDate>Thu, 19 Jan 2023 02:23:34 GMT</pubDate>
            <atom:updated>2023-01-19T03:33:37.915Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Thinking about ways to manage loading data into your dataware house from the perspective a data analyst.</em></p><p>As a business data analyst most of your sourcing needs will be/should be handled by your IT and BI departments. However, there are scenarios where we need to include unstructured data sources into our processes and IT won’t always have the resources available to support your specific needs. Often times IT will be willing to set up a team specific space within a data warehouse for you to work. So brush up on that Python or maybe use analytical software like Alteryx and get those vendor files into the db. What are some considerations you should make to reduce the amount of headache later on?</p><h3>Prepare for disaster! Add Creation Timestamp and/or Filename fields to your source data</h3><p>Let’s start simple. An easy thing you can do to prepare for the worst case scenario is to add Creation timestamp and filename fields to your dataset prior to loading the data into a database/data warehouse. Sometimes a scheduled job fails, or source data is corrupted in a way that it can affect the integrity of your production data. Without fields like this in your dataset you will risk running maintenance on rows that shouldn’t be touched. Third party vendors that your company gets data files from may identify a file that needs to be replaced because of an incomplete batch. Having the exact name handy in-row solves a lot of headaches.</p><p>So if you are using python to parse your unstructured source data be sure to import the datetime object so that you can make use of functions like datetime.now(). Also, most (all???) analytical data platforms will have similar datetime functions that will allow you to do the same thing.</p><pre>from datetime import datetime<br><br># 2023-01-15 16:37:51.129432<br>dt = datetime.now()<br>print dt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*JRVM2MtSVrCfZ--UYootoQ.png" /><figcaption>Alteryx formula tool — DateTimeStart() and DateTimeNow()</figcaption></figure><p>In order to get the source filename in python there are several options. You can use the native split() functions to put the elements of a file path in a list before returning the name using indexing. You could write a regular expression. You could import an os module to use the functions there. In software like Alteryx, Informatica, etc it could be as simple as just checking off a box when connecting to source data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*VCYblT7njVMUxgm5OeK1Ag.png" /><figcaption>Output filename as a field in Alteryx</figcaption></figure><h3>Don’t insert directly into a Production Table from an outside process</h3><p>Analysts new to the process of moving data often make the mistake of moving data straight into a production level table from some sort of outside business application. What seems harmless at first can lead to issues the first time the dependent process fails or mistakenly loads incorrect, corrupt or malformed data.</p><p>Avoid this mistake by creating a landing spot for the data first before it arrives at its final destination. Consider a naming convention that matches the production table object with “_LOAD” or “_STAGING” appended to the end. This will give you more control over preventing disaster recovery scenarios from taking place. From the Staging table you can consider placing constraints on what makes it into the production table.</p><ul><li>Prevent duplicate rows from being inserted</li><li>Decide how/if you are going to take staging data to update existing data or append the rows in order to preserve history</li><li>Ensure the data contained in a specific column is appropriate to that field (you’d be surprised, or maybe not, at how often I see data mapped to the wrong field after an ETL job)</li><li>Validate consistency of data within a field. For example, there are row values “Credit Card”, “CC”, “Credit” that all exist in a column called <em>Payment Method</em>. These should be mapped to a single value.</li></ul><p>Carefully consider how you stage your data from an incoming data stream. If you view the staging table as a temporary holding space it could be a good idea to have the table results mirror the soruce data, overwriting whatever was in the table previously. This keeps the data at a manageable size when doing whatever final preperation is needed. Once the data is transferred from staging then the job is done and the existing data can be removed for the next load. Before picking this option, make sure the business process or application has log data that you can trace back to if needed.</p><p>Speaking of staging your data, what should the table schema look like? Which leads me to…</p><h3>Say what? Load all fields as TEXT/STRING and handle data type conversion later?</h3><p>To many analysts this reccomendation may feel downright offensive. And maybe I am offbase but hear me out.</p><p>Parsing unstructured data can be tricky depending on the format of the files you are interrogating. Are you going to ignore headers or are you going to use a regular expression to grab the data to be appended to each detail level row? How about those date formats, why are dates so annoying to deal with?! And uh-oh, did you mistakenly round that numeric data type to the nearest hundreth even though the precision of the decimal goes 6 spots.</p><p>The point I’m trying to make is that there is some level of risk involved when you try to handle data type conversion prior to moving data into a database environment. Bringing all fields into the database staging table as a string will ensure that we don’t lose any data in the migration process. We then can handle the data types when transferring data from staging to production or in some cases we can have a <strong>view</strong> do the lifting.</p><p>I haven’t seen a lot of people discussing this topic online so I’m honestly curious to see what the conensus is around best practice of handling data types. Feel free to contribute to the conversation here or send me a message so we can learn from each other.</p><h3>Create views to handle ad-hoc queries from users</h3><p>Give yourself the ability to be flexible and create <a href="https://en.wikipedia.org/wiki/View_(SQL)">views</a> that sit on top of your production data table. Here’s a scenario, perhaps you have a database table that contains the addresses of all your customers. Every week you get a NCOA (National Change of Address) file from the United States Postal Service which you use to update customer addresses so you don’t get hit with a penalty for sending mail to the wrong place. The table itself contains a complete history of every address a customer has used for billing. However, in a view you may only be concerned with extracting the most current address for each customer before you get your invoices ready. Use a <a href="https://www.geeksforgeeks.org/window-functions-in-sql/">SQL window function</a> in a query and place it in a view to make it query-able (is that a word) like a table.</p><p>Or maybe your table is being used as the primary source for several visualizations. Since the table is used for reporting it may have a large number of fields and be either unnormalized or only satisfy first normal form (<a href="https://en.wikipedia.org/wiki/Database_normalization#Satisfying_1NF">1NF</a>) for performance and flexibility. In which case you might break the table into views that only reference dimensions and metrics that are neccessary to build a visual.</p><p>As always there’s more to be said — but in the spirit of getting my thoughts down to be added to or revised on later I’ll call it a night. Tomorrow is only Thursday afterall! I have a 9-mile run scheduled on my calendar in the morning before work. Enjoy!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBwuIh1pEL5KUasAQyLCMw.jpeg" /><figcaption>Hello! Bye bye!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b72db3a86e04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Teradata SQL Spool Space Errors: It’s me, hi, I’m the problem, it’s me]]></title>
            <link>https://medium.com/@champybh/teradata-sql-spool-space-errors-its-me-hi-i-m-the-problem-it-s-me-9d88bd2ce0ac?source=rss-92dc56952b86------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d88bd2ce0ac</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[teradata]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Chris Camp]]></dc:creator>
            <pubDate>Mon, 09 Jan 2023 04:37:45 GMT</pubDate>
            <atom:updated>2023-01-09T16:54:49.954Z</atom:updated>
            <content:encoded><![CDATA[<p><em>It’s late at night, you are wrestling with an ad-hoc SQL script to assist the team in some fire drill analysis that came at you like a freight train. And all of a sudden you are getting “No more spool space” errors (or similar bottleneck/performance-related SQL error in another DBMS). Don’t get angry at the admins, first point the finger at yourself.</em></p><p>Alright, listen up all my data Swifties. I’m hoping this brief article that you found 3 pages into Google search results can provide you some comfort on this grim night. I see that you’re wired on that 3rd cup of extra large 7-Eleven hot coffee (the free muffin that comes with it is a nice consolation prize though). You think you wrote a logically sound SQL query yet the DBadmins are killing your query either manually or through some preset limit of spool space that you, as an individual user, have exceeded. Let’s review some options you have before giving up the fight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*GHDKKZEVAC7NfRjRgQwTpw.png" /><figcaption>You know deep down that one of the JOIN’s in your overly complex query is referencing the same column</figcaption></figure><h3>1. Look at those JOIN’s again — Did you do something weird?</h3><p>Sometimes, if any of us have been staring at a block of text/code for too long it can be easy to miss some obvious issues that we’d otherwise be quick to pick up on first thing in the morning after a good night’s sleep. Maybe your query is actually completely fine but your copy and pasted aliases used in a JOIN and accidentally have the same field referencing itself to create a never-ending loop that would eventually consume the Earth itself if it weren’t constrained by baby things like physical servers, or database administrator rules.</p><pre>SELECT addy.City<br> ,addy.State<br> ,addy.Zip<br> ,COUNT(DISTINCT account.Account_ID) as Distinct_Account_Count<br> ,SUM(bal.Total_Amount) as Total_Outstanding_Balances<br>FROM ACCOUNT_INFO as account<br>INNER JOIN ACCOUNT_ADDRESS as addy<br> ON account.ID = addy.Account_ID<br>INNER JOIN ACCOUNT_BALANCE as bal<br> ON account.ID = account.ID   ------ Whoops! This will initially run w/o error but you&#39;re going to have issues</pre><h3>2. Inspect the Data Sources</h3><p>This is something that will hold true in all RDBMS’s but especially so in Teradata. If your source data isn’t properly optimized you might be losing the battle before it even begins. For example, did you know that Teradata automatically sets a <a href="https://docs.teradata.com/r/Teradata-VantageTM-SQL-Data-Definition-Language-Syntax-and-Examples/March-2019/Table-Statements/CREATE-TABLE/Syntax-Elements/PRIMARY-INDEX">PRIMARY INDEX</a> on any table that’s created if one isn’t already specified. By default, it will always select the first field listed in the <a href="https://www.docs.teradata.com/r/Teradata-Database-Introduction/June-2017/SQL/Types-of-SQL-Statements/Data-Definition-Language-Statements">DDL</a> (Data definition language) statement. Ideally, the <a href="https://docs.teradata.com/r/Teradata-VantageTM-SQL-Data-Definition-Language-Syntax-and-Examples/March-2019/Table-Statements/CREATE-TABLE/Syntax-Elements/PRIMARY-INDEX">PRIMARY INDEX</a> of any given table would preferrably be a completely unique value in the column/field — or at least mostly unique.</p><p>However, maybe one of the tables you are referencing in your query is primarily used in reporting or data visualizations. Either the object was created from some third party data analytics software or an analyst who forgot to set the definitions. When you pull up the table the data might look something like this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*bQ99dckith2n_mKG8z4SSQ.png" /></figure><p>And what’s worse, because no PRIMARY INDEX was set Teradata decided to put it on the “YEAR_DATE” field which…</p><ul><li>Is not even close to unique</li><li>Has NULL values!</li><li>Oh no! There are 20 million rows!!!</li></ul><p>If you joined to this table it could have an issue and what can be done? Maybe you just need to ask around and find out if the data source is even appropriate to use at all. A good in-house <a href="https://www.teradata.com/Resources/Ebooks/Establishing-a-Trustworthy-Enterprise-Data-Resource-for-Innovation-and-Production">data governance</a> team could help solve this. Maybe you know, who or what created this table/process and you can redesign the table to reference more appropriate primary indexes (remember, if needed, a primary index can be made up of multiple fields that combined can create a unique set of values per row).</p><p>When seeking out a possible combination of fields to use for your primary index you could try creating an aggregate function that references the columns you are considering and check to see if there are multiple rows that have the same values.</p><pre>select address_type, first_name, count(*)<br>from addresses<br>group by 1 , 2<br>having count(*) &gt; 1<br>order by 3 desc </pre><p>In the above SQL snippet you are considering putting a primary index on address_type and first_name. After running this query though you realize it would be inadequate because your company has 60,000 people with a “Billing” address type and the first name of “John”. Here you would take a step back and consider which fields will truly result in a mostly unique row set.</p><p>Also, have you looked at your table data types? If text/string values in your table are defind as CHAR instead of VARCHAR this could tip you off into a potential issue. The variable nature of VARCHAR can help save spool space, however reconsider if you need to redefine the length definition frequently. Is there a foreign key reference that’s stored as a string in one table but a float/bigint in another? This could make the Teradata optimizer cry.</p><pre>...<br>INNER JOIN bar ON foo.id = CAST ( bar.foo_id AS BIGINT )<br>...</pre><h3>3. Break up your SQL Query into Multiple Steps — Volatile tables and collecting statistics</h3><p>There are some relational database management systems that can handle large queries with several joins well, just as long as you’ve worked closely with your database administrator to properly optimize the source and your querying methods. In my personal experience, it’s seems smart to keep things as simple as possible within Teradata. You can break up large queries by creating a script using <a href="https://docs.teradata.com/r/rgAb27O_xRmMVc_aQq2VGw/mpJF1z_vSlpMbZYxFmRJfA">VOLATILE </a>(or temporary) tables. Especially helpful with large datasets, this gives you the opportunity to <a href="https://docs.teradata.com/r/Teradata-Database-SQL-Fundamentals/June-2017/Query-Processing/Collecting-Statistics">COLLECT STATISTICS</a> on fields you are using for joins between queries. Nearly 10 years ago I asked a collect stats related question on <a href="https://stackoverflow.com/questions/16674017/using-collect-statistics-in-teradata">StackOverflow</a> that helped clarify some questions I had at the time. Still relevant today if you are interested in checking that out.</p><p>The technical definition from <a href="https://docs.teradata.com/r/Teradata-Database-SQL-Fundamentals/June-2017/Query-Processing/Collecting-Statistics">Teradata documentation</a> along with a quick usage example in an ad-hoc database script is below.</p><blockquote>The COLLECT STATISTICS (Optimizer form) statement collects demographic data for one or more columns of a base table, hash index, or join index, computes a statistical profile of the collected data, and stores the synopsis in the Data Dictionary.</blockquote><blockquote>The Optimizer uses the synopsis data when it generates its table access and join plans.</blockquote><pre>CREATE SET VOLATILE TABLE vt_foo as ( <br> SELECT id<br>  ,foo<br>  ,bar<br>  ,bignumbers<br> FROM foobar<br> WHERE bignumbers &gt; 1000000<br>) WITH DATA PRIMARY INDEX(id)<br>ON COMMIT PRESERVE ROWS;<br><br>COLLECT STATISTICS COLUMN (id) ON vt_foo ; <br><br>CREATE VOLATILE TABLE vt_email as (<br> SELECT foo_id<br>  ,email_address<br>  ,domain<br> FROM email <br>) WITH DATA PRIMARY INDEX(foo_id)<br>ON COMMIT PRESERVE ROWS; <br><br>COLLECT STATISTICS COLUMN(foo_id) ON vt_email;<br><br>CREATE VOLATILE TABLE vt_foo_email as ( <br> SELECT foo.id <br>  ,foo.bignumbers<br>  ,email.email_address<br>  ,email.domain<br>FROM vt_foo as foo<br>LEFT OUTER JOIN vt_email as email<br> ON foo.id = email.foo_id<br>)WITH DATA PRIMARY INDEX(id) ON COMMIT PRESERVE ROWS; </pre><p>Of note, you may also need to drop volatile tables as soon as you no longer have use for them within a ad-hoc script. This will release spool space. In the above example, you may continue your analysis but realize that you used “vt_foo” and “vt_email” as building blocks to build “vt_foo_email”. This is your opportunity to get rid of “vt_foo” and vt_email” so that you don’t risk overloading the system.</p><h3>4. Okay okay okay, Maybe You’re Not the Problem</h3><p>It’s possible that your Database Administrators set your spool profile value to be too low. If you’ve exhausted all performance options and/or other people are having similar issues then it would be a good idea to have that conversation as it will likely save you a lot of time. Spool space limits can be important because it allows us to cancel requests that consume too much of the servers resources making it unusable for other processes. DBA’s might have to adjust the value everyonce in awhile and may have specified too low a value for your user group.</p><p>Hey DBA just give me this many bytes okay?</p><pre>MODIFY [PROFILE profile_name | USER user_name ] AS SPOOL = 99999999999 bytes ;</pre><p>I’ll leave it there for now. Please add any additional advice to the comments if you got it. I’m going to refrain from having a conversation about <a href="https://docs.teradata.com/r/kmuOwjp1zEYg98JsB8fu_A/Fx7SeCzm_Qs9sf5XVx1jYQ">SKEW </a>and <a href="https://docs.teradata.com/r/xrmOxQlXa0ETFi5lPxHJaQ/uG5LMkRGEXLztxOk9dJBNw">AMPS </a>for now but learning more about what that means in a Teradata environment could be beneficial to you. Now get some rest!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d88bd2ce0ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Wild West: Challenges of scaling the use of Alteryx (or any citizen development platform)…]]></title>
            <link>https://medium.com/@champybh/the-wild-west-challenges-of-scaling-the-use-of-alteryx-or-any-citizen-development-platform-c5b04a0febf6?source=rss-92dc56952b86------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5b04a0febf6</guid>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[change-management]]></category>
            <category><![CDATA[no-code]]></category>
            <category><![CDATA[alteryx]]></category>
            <dc:creator><![CDATA[Chris Camp]]></dc:creator>
            <pubDate>Mon, 02 Jan 2023 20:20:05 GMT</pubDate>
            <atom:updated>2023-01-02T20:20:05.982Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Wild West: Challenges of scaling the use of Alteryx (or any citizen development platform) across your organization</h3><p><em>This is the start of a series of articles I want to write about my experience working with data in a corporate setting. I’m learning all the time and so I expect that some of my conclusions and assumptions can and will be challenged. Hoping to engage with a community so that these conversations can help me evolve. Apologies in advance for all the typos (there will be a lot).</em></p><p><em>Using Low/No code tools like Alteryx can open up many possibilities for organizations who want to leverage the knowledge of Subject Matter Experts in apps but there are risks.</em></p><p>One of the exciting trends of the last five years or so is the movement towards citizen development (see <a href="https://www.pmi.org/citizen-developer">PMI’s Citizen Development content</a>) which allows non-developers to build their own automations without having a deep knowledge of coding and development. The time savings impact can be immediate when you remove the need to go into a excel document to curate pivot tables, copy formulas and perform other data manipulations. <a href="https://www.alteryx.com/">Alteryx</a> is a company that provides data science and analytic products that allow users to drag-and-drop in order to prep and blend data for easy analysis. From what I can see, Alteryx’s products are popular among accountants and consultant companies that seek to empower clients to take control of their analytics. I personally have had a fair amount of exposure to the tools in the last few years. My most common use case is the ability to clean unstructured data files provided by variuos vendors so that it can be ETL’ed into a data warehouse for visualizations or comparison with already existing company database views.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rwsAtm10AcgqFVZ7dmq2Qw.png" /><figcaption>Example of Alteryx’s workflow canvas with explanation of their Transpose tool</figcaption></figure><p>This all sounds incredibly appealing but without a governance strategy you could find yourself in a “Wild West” situation in which the speed of development is fast but unmanageable. Efforts are duplicated, data sources are misused, documentation is lacking, change management results in several slightly different versions of the same workflows and more. Let me walk you all through some of the hard lessons I’ve learned while working on scaling the usage of Alteryx in my own organization.</p><h3><strong>1. Annotation is not a substitute for Documentation</strong></h3><p>Software developers/engineers know the importance of properly annotating their code with comments that allow for others to better understand the thinking behind a bit of logic or to provide clarity behind the usage of a certain tool or library. Similarly, Alteryx allows users to annotate their workflows with the “Comment” tool. Additionally each individual tool that you can drag and drop onto a workflow has an option to provide additional annotation. This is invaluable for those who need to review the logic of a workflow. Otherwise you could end up with a mess of tools dragged onto a canvas with no rhyme or reason.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/79/1*njPzq4HVePln_hDmXQ6Tjw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*QW90j-K70o5T2KQearNtuw.png" /></figure><p>However, merely annotating a file is not sufficient in terms of an overall documentation strategy especially as the number of processes used by many teams increases over time. Using a documentation wiki platform like <a href="https://confluence.atlassian.com/">Confluence</a> will help catalogue the digital assets your organization has created so that we don’t lose track of everything created in a mountain of share drive folders. Create a template that can be reused for documentation and you’ll have created a standard moving forward. What sections should the template include?</p><ul><li>“Learn about it” — A section that allows you to describe the process so that people unfamiliar with it can easily understand the function</li><li>“Check for prerequisites” — Describe the source data that is used for the workflow. Be detailed an include specific drive locations, database server names, table/view names, etc. How about the output of the workflow? What’s the output file name convention and file extention? Is the output data being consumed by a data warehouse? What version of Alteryx was the application developed in?</li><li>“Prepare your data” — Does a user need to download a report and place it at a network location before running a process or is it completely automated?</li><li>“Put it to work” — If the automation isn’t “no-touch”, meaning that some user intervention is required prior to executing the Alteryx workflow then what are the steps that need to take place before running?</li><li>“Review your output” — How does one validate the results of the output file/data?</li><li>“Edit workflow” — What are the steps needed in order to make modifications to the workflow? Is the file stored on Alteryx server or on a share drive. How is change management being implemented?</li></ul><p>These are just some suggestions but there are more sections that one can add in order to customize the documentation process. It’s important to note that establishing a culture of documentation is critical early on in the adoption of any citizen development process. You will need the buy-in from leadership to drive these good habits otherwise citizen-developers will likely view documentation as red tape and a hinderance to the development process.</p><h3>2. Establish a Change Management Strategy</h3><p>Left unchecked, bad change management processes can create a headache that is difficult to address down the road. Citizen developers need the freedom to experiment with creating Alteryx workflows but once a solution is agreed upon and finalized there needs to be a process to control versioning.</p><p>Luckily, Alteryx has a passable in-house solution that should be leveraged if your company is buying licenses. Alteryx Server allows you to publish workflows to a public or private “Gallery”. You can control who has access to view/edit workflows and versioning is handled on the server without having to create your own custom CM process. Users with proper access can also control which version of a workflow is published for use by others (helpful if you need to rollback changes).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*ZE4vojtHt_hPXT8z8N6yXA.png" /><figcaption>Alteryx Server version control</figcaption></figure><p>It should be mentiond that Alteryx development licenses are expensive and a server implementation even more so. Not every business will be able to leverage this functionality. If this is the case for you then it’ll be critical to establish a process immediately. Alteryx files are saved as XML so something like <a href="https://bitbucket.org/product">Atlassian Bitbucket</a> could be a good option, however there will be a certain level of training needed. For free options, work with your IT department to leverage Git or CVS. Define an owner(s) of the process to help ensure that its success.</p><p>What should you not do? Don’t get in a situation where your Google Drive or shared drive folders get cluttered with Alteryx_WorkflowV1.yxmd, Alteryx_WorkflowV1.1.yxmd, Alteryx_WorkflowV3.yxmd (what happened to version 2?!). Or even worse, sending workflows over email to be edited by teammates. You’ll always be asking the question as to whether or not something is truly the latest and greatest. The more workflows in your ecosystem the harder this will be to manage.</p><h3>3. Catalogue your Data Sources</h3><p>Platforms like Alteryx make it easy for developers to get up and running to experiment. However, it also opens up a scenario where people are self serving their source data without being checked. How can we ensure that everyone who is interested in aggregating billing transactions are going to the same place for their data? This can lead to inconsistencies across analysis.</p><p>Establish a simple governance process for your team to follow. This is good practice, especially if your application generates reporting that is used by more than just a couple of people. It creates a learning opportunity by allowing your work to be reviewed by someone else. And within this process we can take a look at where you are sourcing the data and determine if that is the most appropriate place. If the data source is new the governance process can create a step where it gets catalogue on the teams wiki, Google Sheet, or other agreed upon spot where data can be tracked.</p><p>This is also an opportunity to establish a relationship with IT who can assist in ensuring the correct sources are being used and are used correctly. Which leads me to my next point…</p><h3>4. Trust and Leverage your IT Department</h3><p>This is a tricky one. Many citizen developers have started creating processes using these low-code/no-code apps out of a general frustration of their companies IT departments being unable to deliver solutions for Medium-Low priority items in a timely manner. Those low priority items may actually be incredibly helpful to the effective performance of your job. For better or worse, your IT department might not be agile enough for your evolving needs. They may do an excellent job steering the tanker but can’t easily change course to fit your priorities.</p><p>The <a href="https://www.pmi.org/chapters/luxembourg/stay-current/newsletter/how-can-low-code-solve-your-organizations-major-pain-point">Project Management Institute (PMI) coined a term “Shadow IT”</a> which is…</p><blockquote>Shadow IT — the use of information technology systems, devices, software applications, and services without explicit IT department approval.</blockquote><p>Analytical Apps like Alteryx can inadvertantly create a Shadow IT. It’s an effective way to get your business needs addressed but the lack of ownership in processes can create issues that impact your company beyond just your individual department. Get leadership buy-in to help manage the Alteryx Server or other change management platform. Use IT to help provide a framework for how to identify and publish production ready applications. Leverage IT’s ability to push a “half-automated” process over the finish line creating a truly fully automated no touch process. There’s a lot to be gained by this partnership. Encourage your leaders to engage with each other so that the best interests of each department are represented. For example, if you are worried by being constrained by IT standards be sure to discuss. There can be a happy middle ground where the business unit is still compliant while also quickly delivering solutions.</p><h3>5. Go Beyond the Basics with Training</h3><p>Of course getting the user base comfortable with the basic toolset in Alteryx is critical. Alteryx offers free certifications which can assist in getting people to competently build workflows. Try starting with the <a href="https://community.alteryx.com/t5/Certification/bd-p/product-certification">Alteryx Designer Core cert</a>. This will only take you so far as there are some important additional elements that are neccessary to supplement the training.</p><ul><li>Use the Interface toolset to get users to design workflows that minimize the need to change the tool configuration itself. For example, if you have a workflow that requires a user to provide the source data each time it’s run. Design it in a way that allows them to interact with the workflow using a “File Browse” tool instead of having them update the source reference each time (creates a version control nightmare).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ca-dhw1ZyVB7vj-2wYVxA.png" /><figcaption>File browse interface example</figcaption></figure><ul><li>Consider training on how to use the “Directory” and “Dynamic Input” tools to create dynamic no-touch processes. Get users used to leveraging date functions within a Formula tool in order to determine which source files should be processed when an app is being run.</li><li>Make sure people know the difference between <a href="https://www.techopedia.com/definition/5817/absolute-path#:~:text=An%20absolute%20path%20refers%20to,absolute%20pathname%20or%20full%20path.">Absolute</a>, <a href="https://networkencyclopedia.com/relative-path/#:~:text=What%20is%20Relative%20Path%3F,root%20of%20the%20file%20system.">Relative</a> and <a href="https://www.lifewire.com/unc-universal-naming-convention-818230">UNC</a> paths. There are appropriate times to use each and this is critical to learn especially when trying to figure out how to package a workflow for others to use either locally or on Alteryx Server.</li></ul><p>I’ll end my list there. I have more in my head but I’ll save that for a part 2 as I’m writing this on my day off and pretty soon I’ll need to wake up my toddler from his nap. Thanks and hope to engage with you all soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5b04a0febf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>