Quantcast
Channel: Data Preparation & Blending discussions
Viewing all 4999 articles
Browse latest View live

Change Minutes to Hours, Minutes

$
0
0

We have employees tracking some work they are currently working on.  Right now, we have them calculating time spent in minutes.  They are tracking this in SharePoint, which is saving the data as a number.

 

Management wants an accumlated total of hours/minutes spent on these projects. This information will be growing daily.

 

Any way to show the ongoing total as HH:MM?


Value Change Identification

$
0
0

Hello, 

 

I need help with the publication of a data change log for a specfific field. If the value held in that field is ABC123 and is then updated to EFG456 for that customer, what kind of formula could I create to identify these changed values?

 

Thank you.

Data manipulation (Cell operation)

$
0
0

How can we use Altreyx functionalities to execute operations/calculations on a data point.

 

E.g Like in Excel you give ‘% of” , “min of two numbers” , addition/subtraction between two cells etcs . I am specifically looking for all of these.

 

Or is ALteryx strictly for data cleaning & blending alone.

 

Column style change without using a table tool

$
0
0

Hi, I'm trying to find if there is a way of chaning the style of a column or row using a formula like in the table tool but not using the table tool.  My problem is the app I've written uses a variable to replace the year until the bottom where I change column style using the formula function of the table tool.  There is a generic name for the column so as each year changes the rules in the table tool still work for the column.  I'd either like to be able to change the column headers after the table tool runs the formulas for the columns or a way to make those column style changes without using the table tool.

 

Attach is a simplified version of that part of the workflow.

 

Thanks for any ideas!

 

Handling nulls in source data

$
0
0

ALteryx file.jpg

Hi All,

I want to import an external file when ever my source data is missing/ nulls when I apply filter condition.If my filet condition gives output then I will use that Source data. Could you suggest how to achive this.

Thank you.

 

Regards,

Jagan

grouping based on part field name

$
0
0

Hi All

 

I need to run some analysis on a file similar to the attached.

 

As you can see, products have scores which are split into positive and negative, which means each product has two columns each. row cell contains a number which represents the weight of that positive or negative score

 

What I'd like to do is transform the data so that so that there is only one column per product, and an overall % of positive or negative

 

                 Product 1 | Product 2

Negative         35%        52%

Positive           65%       48%

 

What are your thoughts ? is this achievable ? 

 

Alex

 

 

 

Load Multiple Files

$
0
0

Hi All

I have a shared drive that has multiple excel files with same format. I have used dynamic input to achieve the loading, but I need to configure the path for the shared drive dynamically. Can anyone help me in achieving this.

Custom Date Difference calculation

$
0
0

Hi Everyone,

 

I'm trying to get a custom date diff calculation going in Alteryx to calculate the number of days between when something is received and when it is actioned. I have a previous calculation complete with a list of business days in MySQL, but can't figure out how to get this working in Alteryx.

 

My MySQL query is as follows:

 

SELECT IFNULL(SUM(businessDay),0) 'Business Days' FROM list_days WHERE Date > `Received Date` AND Date < `Actioned Date` LIMIT 1;

 

It contains a list of days (approximately 4 years worth) in yyyy-mm-dd format and whether the day is a business day or not as a 0/1 (accounting for public holidays and weekends).

 

The query returns the sum of businessDay for every day between Received Date and Actioned Date. I see two potential options to solve this, but don't know how to do either (or if they're possible) in Alteryx.

 

Option 1:

Run the query in the middle of my workflow for each and every record.

 

Option 2:

Bring in the list of days into Alteryx and run a filter/summarize for each record individually.

 

Is there any way to complete either of these, or is there a better way I haven't thought of?


Why should use Alteryx? - A question from QlikView user

$
0
0

Hello, I am pretty new to Alteryx.

Anyone using both Alteryx and QlikView?

 

For years, we've been using QlikView, and now a friend offered me to use Alteryx for data blending and predictive.

 

I wondered why I should use Alteryx?

QlikView has its own ETL engine and predictive analysis.

 

Just what is the benefit of Alteryx which QlikView does not have and mainly as a reason for me to get Alteryx to work together with QlikView?

 

Thanks in advance~

Multifield Formula for changing data from Text to Date Format

$
0
0

Hi,

 

I have a file which consists of Date Format data as below. I want to read the data using Input tool and load it to Greenplum Database. I tried Select and Multi field Formula Tool for Date conversion. Nothing is working out for me. i know i am missing some thing. i request you to help me to solve this issue

 

S.No   Name     Date

1        Harbour  04/23/2015

2        seaman  03/22/2015

3        Hannah  12/22/2015

 

Regards

Aysha

Data Comparison between 2 tables

$
0
0

Hi, 

 

I need to compare data from 2 tables ie, First table i have some data and the second table is a lookup table. Based on the comparison, i have to take the data from the lookup table and update in the third table. Please find my scenario below. Kindly help me to solve this issue. Please help me to design workflow in alteryx

 

Table 1

S.NoNameAddressJurisdiction
1HannahAlabamaAmerica
2PeteLeedsUnited Kingdom
3SagerCaliforniaAmerica

 

 

Table 2(Lookup Table)

JurisdictionCountry
AmericaUSA
United KingdomUK

 

 

Required Table After comparison

S.NoNameAddressJurisdiction
1HannahAlabamaUSA
2PeteLeedsUK
3SagerCaliforniaUSA

 

 

Healthcare Patient Product Order Transaction History: pick the primary Insurance Plan

$
0
0

Hi,

 

I have a transaction history with following attributes:

  • Date of Shipment
  • Customer ID
  • Order ID
  • Product Item ID
  • Sales Dollar
  • Insurance Plan ID
  • Referral Source ID

 

Over 6 months period, a customer can have multiple orders; each order can have multiple product items.  Most of the time, “Insurance Plan ID” and “Referral Source ID” are the same, but may also be different.

 

I want to choose “Insurance Plan ID” based on the largest value of “Sales Dollar” during this period.  Alternatively, I may want to choose “Insurance Plan ID” based on the date (first-ever “Date of shipment” during this period of 6 months).

 

Additionally and separately, I want to choose “Referral Source ID”, based on largest “Sales Dollar” at Order level, similar to “Insurance Plan ID” situation above.

 

How do I do that?  Thank you for your help.

Fuzzy Matching - Same Source

$
0
0

I currently have a single source stage table of credit card transactions that have merchant name listed as one of the transaction fields.

In many cases the merchant name varies but the merchant is the same.

For instance, I have an entry for WM SUPERCENTER #1234 and another for WM SUPERCENTER #5678...and those are the ones that play nice!!

 

How can I use (or can I) fuzzy matching to merge these into a single merchant?

 

Thanks!

Ben

How to Value base on Maximum date for each year

$
0
0

Hi Friends,

 

I am new to alteryx. I have a data like this.

 

ID Level Date Year
1  A 2012-06-30 2012
2  B 2015-12-18 2015
2 A 2015-01-28 2015

 

Now I need to take ID Level and year. The Level I should take for ID 2 is maximum data of that year that is B(Since 15-12-18 is older date than 2015-01-28 ).

 

Please guide me

Rename changing field headers

$
0
0

I have a workflow which determines the last three full months and displays parts usage by said months - the output looks something like this:

 

partID2016_03_012016_04_012016_05_01
partX927866
partY756098

 

The dates will change every time the workflow is run in a new month.

 

I want to calculate the average for each part but as the dates are going to change how can I put this into a formula?

 

I don't need the dates so am quite happy if these can be renamed to something like Month 1, Month 2 and Month 3 and I can then use the formula tool as normal but I can't figure out how to do this.  I've tried using dynamic rename but wasn't sure how to set it up.

 

Any help appreciated.


Dynamically update or avoid updating a Calgary Database

$
0
0

All, I need some advice please how to build a flow to do this:

 

I have a Calgary database which I update daily using an Alteryx flow. This flow is the most basic imaginable. An Input tool runs an SQL query against a remote Teradata database. The results are fed to a Calgary loader which re-builds the Calgary database. The data is around 46 million rows, so it takes a while to run, and pulls a lot of data over a transatlantic link. There is no point running this flow more than once per day, the data only changes overnight.

 

I have a second, more complex, flow which uses the Calgary database as one of its data sources, by using the Calgary Input tool. This flow gets run several times per day.

 

I would like to make life simpler by combining these two flows. However, I want to avoid re-running the Teradata query each time the combined flow is run. So on the first run of the day, I want the flow to run the Teradata query, and use the results, but also update the Calgary database. On second and subsequent runs, I want to avoid running the Teradata query and use the data from the Calgary database that was updated on the first run.

 

So in effect I am using the Calgary database as a local cache for the data from the remote Teradata system.

 

I have been trying to build something using the Directory tool to find the last modified date on the Calgary database file. I can compare this to today's date to test if the Calgary database has been updated yet today. I can put parts of my flow into containers and enable/disable them with the Action tool. I guess I may need to use the Detour and Detour End tools. But I can't figure out how to glue this all together.

 

I have no ability to schedule flows to run, or make dependancies between flows. All flows are run by hand and I am looking for a solution usingthe existing tools in Designer. I cannot install extra packages because of corporate security restrictions.

 

Any suggestions please?

 

Weighted median computation

$
0
0

Hey guys i am trying to do wieghted median over two columns which is the best macro for the same ?

Used crew macro but getting into config trouble the macro works well but does not give the group by ids in the output. In the config i grouped by a column for ex. id and it has to calculate wieghted median for each of those id. The output does not show me the id just the weighted median values.

 

Output i got

 

weighted median

5
3
2.785714
4
3
4.208333

 

Desired output

 

Id        weighted median

   1                  5
   2                 3
   3          2.785714
   4                 4
   5                3
   6         4.208333

Multiple snippets on multiple excel tabs via render tool

$
0
0

I have a workflow which summarises output by month and by time.

 

For each, there is a graph and a table giving me four report snippets in total.

 

I want to render these to Excel with two tabs.

 

I can get all snippets on one tab, or I can get each snippet on its own seperate tab.

 

Is it possible to have two snippets (a graph and a table) on two tabs?

 

(I hope that makes sense? Smiley Frustrated)

Replace Wildcard

$
0
0

Hi,

 

Anyone see my mistake?  

 

I have records in Notes History field with this text: [03/28/2013 - 15:07, BY: Chris Juergens] that I am trying to remove from each row.

 

Have looked into using Replace and Wildcard, but not having any luck removing it.

 

Formula: Replace([Notes History],"[*]","")

 

Thank you.  

 

 

No target OLEDB object available?

$
0
0

I'm running the attached query in the Input  but getting an error with No target OLEDB object available... Can anyone point me to some leads?

 

 

Viewing all 4999 articles
Browse latest View live