

Whenever you start with Tableau Prep, you need to add your data source.Ĭlick on the type of file you want to connect to (for example Microsoft Excel or Text file for CSV files). First things first: Connect to your data source

Here’s a video by Tableau Zen Master Joe Mako.Īnd here’s an article by Phillip Lowe at The Information Lab on data scaffolding in Alteryx. It will either reshape the original data or blend multiple data sources in such a way for better visualization”. Back to Tableau Prep: Data scaffolding to get the date field right But what is Data Scaffolding?Īlexander Mou describes it here as “a technique to artificially create a data structure for the purpose of visualization. However, to answer our question we need to get back to Tableau Prep. SUM(DATEDIFF formula) onto the Size shelf.īy looking at it, there seems to be more overlap at the hospital around September 15–16.Date Admitted (as Day, Continuous) onto Columns.If start_of_week is omitted, the week start day is determined by the start day configured for the data source.Įxample: DATEDIFF (‘month’, #2004- 04-15#, #2004- 07-03#, ‘Sunday’) = 3 (months) The difference is expressed in units of date_part. Which calculation? We added a new calculation using DATEDIFF:ĭATEDIFF(“day”,, ) A look at DATEDIFFĭATEDIFF (date_part, start_date, end_date, )ĭATEDIFF returns the difference between two dates where start_date is subtracted from end_date. How can you visualize the data to show the difference between the two dates, admission and discharge? In the meantime, Emily brought me up to speed by exploring the Pokemon’s health issues. The others started working on their project. In the morning, I had to leave for two hours. Moving to Tableau: Is our data structure compatible with what we want to do? The day the hospital had admitted them and.Pokemon is not really my thing, so I learned something new.įor each one of them, t he dataset showed: And Slowbro was feeling perpetually tired. From when to when?Įmily always finds catchy examples to use and created an ad hoc Pokemon folder with datasets to practice on using Tableau Prep.ĭewgong had the bends. The day the hospital discharged patient X.īut how can you calculate the number of patients who are under care on a specific date?.The day the hospital admitted patient X.Let’s say you have a dataset on hospital management. How many patients are under care as of today?

Here are a few basic things I learned: Tableau Prep 101: Prep vs Alteryx Tools + What it can/can’t do Let’s say you manage a hospital.
