Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Counting Completed Date and Use Graph

KamenRider
10 - Fireball

Good day guys,

 

I have an illustration attached and I wonder how I can automate it with graph in Alteryx. The illustration show below counting the completed date per month since 2022.

 

Result01.PNG

 

There are other results that I wanted to be showed which is being represented below

 

Result02.PNG

 Below is another graph which I wanted Alteryx to create.

 

Result04.PNG

 Below is the sample excel raw data for your reference.

 

I do hope someone could help me how to do it although it is very complicated.

 

Thanks and hoping to hear from someone.

 

Kamen

10 REPLIES 10
Hammad_Rashid
11 - Bolide

Hi @KamenRider 

 

Please see if you can create the chart using the below links.

 

Best,

Hammad

 

https://help.alteryx.com/20223/designer/interactive-chart-tool

 

 

Yoshiro_Fujimori
15 - Aurora

Hi @KamenRider ,

 

I created a sample workflow.

You may want to play around the parameters of Interactive Chart.

Good luck.

 

Input

Yoshiro_Fujimori_0-1682322804338.png

 

Interactive Chart

Create / Layer

Yoshiro_Fujimori_1-1682322901867.png

Yoshiro_Fujimori_6-1682323189149.png

 

Create / Transforms

Yoshiro_Fujimori_2-1682322962967.png

↓↓↓↓↓

Yoshiro_Fujimori_3-1682323008711.png

 

Style / Layer

Yoshiro_Fujimori_5-1682323123261.png

↓↓↓↓↓

Yoshiro_Fujimori_7-1682323227033.png

 

Output

Yoshiro_Fujimori_8-1682323302791.png

 

KamenRider
10 - Fireball

Hi @Hammad_Rashid 

 

Can you please how I am going to start the workflow? I find it complicated.

 

Thanks and looking forward.

 

Kamen

KamenRider
10 - Fireball

Hi @Yoshiro_Fujimori 

 

Thank you for the response. Appreciate how you demonstrate how to create a graph. However can you also help how to derived those data before the start of graphing like below using my raw file. It will allow me to understand more how my data works to create the graph.

 

Result01.PNG

Result02.PNG

Appreciate so much your response. Thanks,

 

Kamen

Yoshiro_Fujimori
15 - Aurora

Hi @KamenRider ,

 

It is difficult to find the relationship between the raw data and the pivot table you provided.

 

For example, the raw data has only 14 rows,

while the output table has a new field "Row Labels" without definition with 19 rows.

I would say you need to provide more information.

 

KamenRider
10 - Fireball

Hi @Yoshiro_Fujimori

 

What we would like to do is that using the field "Turn Time" vs the field "Completed date" we will be able to create a similar result as found below.

 

Raw file

 

KamenRider_0-1682440725461.png

 

Sample  Result

 

KamenRider_1-1682440987810.png

 

Same also with the other screenshots, the left side refers to the "Turn Time" wherein below "Turn Time" is hoping to get all turn time less than 5 (<5) vs the completed dates and so on.

 

KamenRider_2-1682441295912.png

 

KamenRider_3-1682441380046.png

 

After we get those into Alteryx Conversion, we convert it to graph.

 

Please help me how I can translate this to Alteryx Conversion so I could also learn from it.

 

Thanks and looking forward for your assistance. Please let me know if you have inquiries.

 

Kamen

Yoshiro_Fujimori
15 - Aurora

Hi @KamenRider ,

 

For more effective communication, please consider sharing a real Excel sheet dealing with real data and pivot table.

Meantime I generated a psudo data with random number of rows and random "Turn Time".

 

Input Data

(You can ignore the fields other than CompleteDate and TurnTime)

Yoshiro_Fujimori_0-1682468578126.png

 

Workflow

Tile tool is the key to count the rows at arbitrary range.

Yoshiro_Fujimori_1-1682468652002.png

 

Output 1 - count by TurnTime

Yoshiro_Fujimori_2-1682468710872.png

 

Output 2 - count by Range

Yoshiro_Fujimori_4-1682468836110.png

 

Adding grand total is a different issue and you can find some useful tips on the community with keywords like "excel grand total".

https://community.alteryx.com/t5/Engine-Works/How-to-Generate-and-Format-Totals-and-Subtotals/ba-p/9...

 

Good luck.

KamenRider
10 - Fireball

 Hi @Yoshiro_Fujimori 

 

Thanks for the guidance. I think we are nearing the solve it. I was able to combined the workflow and the graph you have send and I have some more questions.

 

First, is it possible to have a uniform date. Instead of Jan, Feb and March, have it Jan-23, Feb-23 and so on?

 

Month.PNG

I have an error in line to the graph portion. I am trying to locate in the net but I am not able to locate a solution. Please advise how can we fix it.

 

Chart Error.PNG

 

Thanks and looking forward for your response.

 

Kamen

 

 

Yoshiro_Fujimori
15 - Aurora

@KamenRider ,

 

You can tweak the column names by the function in Dynamic Rename tool.

In the original workflow, I added IF statement to follow your sample output.

If you don't need it, just remove it as below and then you'll get what you want.

IF StartsWith([_CurrentField_], "2023")
THEN DateTimeFormat(
  DateTimeParse([_CurrentField_], "%Y_%m_%d"),
"%b")
ELSE DateTimeFormat(
  DateTimeParse([_CurrentField_], "%Y_%m_%d"),
"%b-%y")
ENDIF

 

For the graph, I cannot recreate your issue, but the setting is as below.

Yoshiro_Fujimori_0-1682724722889.pngYoshiro_Fujimori_1-1682724736618.pngYoshiro_Fujimori_2-1682724790038.png

Output

Yoshiro_Fujimori_3-1682724979138.png

 

I know Reporting tools are tricky and you need trial & errors to be familiar with it.

Good luck.

Labels