Toggle metrics in specific chart in Qlik sense mashup - qliksense

I want to create a chart in a Qlik Sense mashup, in which I can toggle between metrics. For example: each line below represents a country, the X-axis is a timeline, and I want to toggle between sales, website session and NPS score on the Y-axis. This toggle should only apply this line chart and not the other objects in the mashup.
Is this possible and how would I do it?

you can do this by using a line chart,
once you have build it with date and country as dimension and sales as a measure,
click on add alternative under measures, and choose website session and NPS score.
When you exit edit mode, you can toggle between measures by clicking on the triangle next to the Y-axis label
this will work in a QlikSense app or in a mashup

Related

Merging Percentage Lines with The Bars in Tableau Desktop

I have a graph that shows the ratio (count) of payable vs. processed words among the total words on stacked bars. I would also like to display the same ratio in percentages in lines overlapping the bars.
At the moment I have them in two separate graphs, but I want to merge them so that it takes less space in my dashboard view. I am unable to select the dual combination view as it requires two measures and even though I keep trying to cmd+click+drag the percentage measure pill to my marks, it's only changing the calculations in the bars but not allowing me to select the dual combination view.
Since the percentages are basically the ratio of the green/total in the bars, I don't think I need any complicated configurations for displaying it, however, I am also failing to achieve what I want.
Could you please tell me how to do this visualization?
Edit: I noticed that the reason I couldn't generate the dual combination view was that I had three date pills (year, quarter, month), and by removing two of them, I'm able to generate the dual combination view, but it's far from what I'm looking for as it's only splitting the stacked bar into bar+line.
Neeku, I certainly understand the desire to minimize "real estate" in your dashboard. If I understand your needs correctly, I believe that overlaying a transparent-background chart over the first chart might meet your needs, if a dual-axis chart doesn't work for you (for example, if you wanted to overlay a line chart on a column chart that is itself already dual axis).
By way of example, here is a simple Sample Superstore dashboard with a line chart on top and a stacked column at the bottom.
simple dashboard
Change the line chart to "Floating"
Size it to fit over your column chart and change the background to transparent by clicking anywhere in the line chart and select "Format"
...Format Shading
...and "None" for the color selection
Your line chart is now an overlay, but it's pretty messy.
Click on the line chart and hide field labels,
...turn off "Show Header" for each pill in the line chart
Clean things up and it should look better:
Note: one big issue with this approach is that you will not be able to click to select chart elements of the underlying chart.

Action Filter on Pie Map Chart

I have a map and a table which looks something like this.
Following action filter has been applied on dashboard.
But as described in the first image, I can only select On ground or In transit Inventory for a particular dealer code.I want to make sure that the entire dealer code is selected and both the inventory types are shown in the table below.
How can this be achieved. I think this can be done by dual axis map, but not sure how.
I also want to make sure that when i hover over the dealer code, total inventory is shown in the tooltip instead of On ground and In transit as separate.
Current Tooltip Screenshot :
Workbook Link here:
One option is create a Donut chart where if you select the middle part then entire dealer code is selected and if you select the outer part then either In Transit of OnGround is selected.
Donut chart design:
One pie chart (Which you already have) has Intransit and On ground
Create one more pie chart for dealer code
Now create dual axis adjust the pie chart that dealer code pie chart will be small compared to first one and appears at middle of the dual axis
Now when you click middle circle, Write action filter to show both InTransit and Onground and if you click outer circle then create one more action filter for either of the data.
Hope this helps

Display color legend on tableau chart

Is there a way to display color legend on the top left side of a chart .
I have 4 charts in a tableau dashboard and if i display all the legends for all the 4 charts on the bottom it looks busy so I want to include the legends in the charts.
Please help me on this with details steps.
What you want is to make the "legend" a floating object instead of the default tiled object.
To achieve this; You can hold down the Shift key, then drag the legend using the left mouse button while still holding down the Shift key. Drop the legend wherever you wish on the dashboard. Make sure you only release the Shift key after you have dropped the legend at your desired destination.
Warning: Depending on the size of the dashboard you selected, floating objects move around when end users view your dashboard on a device with different screen resolution. To avoid this you can use the "Exactly" size option and define a size range which suits your needs.
To include legends on top left Side of the chart.
Follow steps here as under:
Step1:
Select legends, Right Click on legends top part and select floating and place inside the chart on the top part below heading of Graph as :
So you can follow above steps to add legends in all 4 charts.
Output will look like as
So in this way your legends will not be clumsy and you can describe visualization in a better manner.

Dual axis chart from the same measure in Tableau

I'm aware of how to create a dual-axis chart using two different measures for the Y-axis. Is there a way for me to create a dual-axis chart using a same measure but on two different range in the dual-axis? For example, I have a column which contains revenue, I want to create a dual-axis chart where one axis has revenue for Year 2013, and the other with revenue for Year 2014.
Edit: my aim is to create a line chart for revenue Year 2013, and bar chart for revenue Year 2014, on the same chart. See picture below is what I have done to have FY13 and FY14 values for each month and running monthly cumulative.
Now what I wanted to do is to have the two FY13 bar charts to be line charts superimposed on their corresponding FY14 bar charts.
I attach also my Tableau workbook that creates the charts above in the first tab.
https://dl.dropboxusercontent.com/u/5548442/StackOverflow%20attachments/FY13%20vs%20FY14.twbx
Yes, this is possible.
Drop the measure in the row shelf.
Then grab the same measure with Control key pressed and drop it again on the row shelf.
You will have two instance of the same measure on the row shelf.
Right Click the second measure on the row shelf and click dual axis.
Right click the axis on the worksheet and Edit axis to your choice.
Let me know if this solved your problem.
EDIT
Create 2 calculated feild:
If [FY] = "FY13"
then [Value]
end
call it- 2013
and
If [FY] = "FY14"
then [Value]
end
call it- 2014
Then just do as i have done in this image.

Tableau - Multiple Line Graphs Day by Day

I would like to create a dashboard showing Level Funnel for the users with respect to their register date on the same chart.
My data is like the following:
And from that data, I would like to create the graph like below:
But in tableau I couldn't manage to combine those graphs below, which are separated day by day:
I tried to follow this steps, http://downloads.tableausoftware.com/quickstart/feature-guides/combo_charts.pdf however I couldn't find 'Customize Marks' button in the menu.
That would be great if you can help me on how to combine these graphs into one graph.
Thanks.
Drag the DAY(Date) field from the row shelf to the color shelf
One way to think about it: When you have the DAY(DATE) field on the row shelf, and you've configured it to present as a discrete field, you are telling Tableau to "make a row for each day". When you move that field to the color shelf, you are instead telling Tableau to make a color for each day. The same mental substitution works for discrete fields on most of the other shelves, like columns, shapes, pages -- i.e. make a page for each day.