Tableau: How to show two measures from different data sources in the same chart (without blending) - tableau-api

Currently I have a chart that displays monthly GA visitors. This data comes from a GA table in the DB (Table 1)
I have a separate data source for purchases (Table 2). I have a chart that shows # of monthly purchases, but I'd like to combine these into one chart so I can show a monthly conversion rate.
Tableau keeps prompting me to blend data and I don't want to do that (I don't think). Tableau seems really unintuitive at times.
Please see the screenshot below. The numbers in red are what I'm looking for. They need to pulled on the same dates as the GA data. I can derive the conversion % from there.
Thank you! Tried a bunch of stuff but getting nowhere.

Related

How can I build the following graph in Grafana with Athena CSV as a source

I have the following CSV that my Athena as a service (aws) is using as a source.
I am currently using QuickSight to create the needed graph but I cant seem to be able to to go about this in Grafana. This is more or less what the CSV looks like:
All graphs are time based and should use the creation date as the timeline (x).
For y I would like to use different combinations to create different graphs.
For example, one of the graphs should have the time as the y while different colors of the y will represent different Tag combined with size.
My point is that many graphs could be extracted from this CSV yet I cant find a way to go about this as each query enables me to choose only table and column.
In QucikSight I am able to choose the x column (although it detects Creation date automatically) and add all kinds of filters for the y, all done graphically.
Is it possible to do in Grafana? Any help would be appreciated!

Blended Data sources

I am new to tableau and was using blended datasources for showing values in the sheet. However I ran into a problem. While I am trying to get the date fields from one datasource which is blended into the ward code of another data source. I am trying to show the occupancy values in different dates. However, all I am getting is the sum of the values in the below field like so?
How can I change this to show different bed occupancy in different dates?
Instead of one number it should be filled with various smaller numbers from different fields
Can anyone give me an idea as to why this is happening. On doing joins I do the same thing and we get the values. However the numbers get fudged

How do I save forecasted values to use in calculations in Tableau?

I have a report that uses a couple years of historical data and uses the Tableau forecasting to show expected values for the next three months. I would like to be able to save these values for a few reasons.
I need to do calculations on the forecasted values. Multiple different people will be using this forecast and will need different calculations. Some will need to calculate 70% of the forecasted value, and some will need to calculate different percentages. I'd like to have a parameter for them to enter the percent and be able to create a calculation using the parameter and the forecasted value.
I would like to be able to save forecasted values to later show the difference between what was forecasted and what actually happened. I understand you can export your data from your forecast and import that as another data source to show actuals vs forecast, but I need to do it all automatically with no manual intervention.
Is this possible? I haven't found any way to save the values or do calculations on the values that are forecasted. I am using Tableau 10.5
Tableau will never save data. Probably easiest to create the forecast values in the datasource and then report. It's very simple to have "actual" values and "forecast" values so you can compare

Powershell: Get data from line chart to excel

I know we can generate chart from excel/csv data using ms chart library. But my question is little bit different. I am just asking for possibilities.
Is there any way to get the data from excel chart?
For those who wants to know what i did. I search it on google but no related result found. I don't know where to start. So, no code written at the moment. I know how to read excel file in powershell.
Any suggestion.
Thanks for your time.
What you are looking for is data or rather data elements.
What is a chart? If we think about a chart: It has an X and Y axis:
It has for the sake of argument and X-axis and we can call that date or data points.
It has a Y-axis for say quantity. Your manager may ask, show me how many logins are done per day for the last 30 days?
You would map out by day or by week how many logins were done and to show this in a "pretty" way: you can do this with a chart.
So, back to your question:
You need to know - What scale are you dealing with? Days, weeks, months, number of readings, etc.
You need to know - What quantity was taken at that time: Days. weeks, months, number of readings, etc.
Once you have both of these, you can then build a chart. Otherwise, using your Google example: It is just a picture and would be meaningless if there is not thing to tie it for a data relationship.
Hope this helps?

Table Structure for Tableau

I have a query regarding the table structure for the pie chart on Tableau.
I have below 2 table structures and am not sure which one is more apt for tableau to arrive at a pie chart .
For example I wish to see the percentage of each metric over a particular date contributing towards the total. May be the representation is a pie chart or some other chart. Please suggest me which table lay out works out well for my requirement.
Note : I have done all my calculations to arrive at the total in my database table itself.
Could some one please help me out.Thanks!
Table 1 :
Table2 :
Pie charts first take a series of data and sum the total. Then they calculate the percent of each element of the series and create a pie slice with a unique color. To make a pie chart, you need one measure (the category or label) and one dimension (the amount of that category).
If you need to see how one is made, I would suggest downloading an example workbook and then going to the pie chart sheet. One example is here.
Here is how it looks when set up in Tableau.
Personal note: Despite the name, pie charts are not that delicious. Here is advice from Tableau themselves. And here is something I made up to express my feelings.
Relating to the topic of pie charts, and how to best represent data where contributions to a whole are of interest, I would recommend bullet graphs as well. Here are two papers by Stephen Few that could be of interest:
Save the Pies for Dessert
http://www.perceptualedge.com/articles/08-21-07.pdf
Bullet Graph Design Specification
http://www.perceptualedge.com/articles/misc/Bullet_Graph_Design_Spec.pdf
And, to answer your question on data preparation for Tableau, it looks like the second table would be more appropriate. Here's a good KB for preparing data for analysis, note the last section on the Tableau Reshaper tool for Excel...can save a ton of time.
Preparing Excel Files for Analysis
http://kb.tableausoftware.com/articles/knowledgebase/preparing-excel-files-analysis