How to pickup a shape based on a cell text in tableau reports - tableau-api

I am not a tableau developer but i am just a user of tableau reports. My engineer is telling something is not possible so wanted to take experts suggestions and help to solve the problem.
My requirement is simple. We need to build a report in tableau with 4 columns and the last column should contain a color coded arrows (R,G,Y) representing the data trend (Up/Continuous/Down). The data will change frequently and the input source is excel sheet. My engineer is suggesting that, everytime we have to manually set those shapes in the 4th column, once the report is generated from the excel (basically from the first 3 columns only). I dont like to have a manual intervention everytime in tableau since i am not good at building/editing reports and its not a best practice to automate something.
In below picture the last column is the one i wanted to automatically generated based on excel sheets data.
My suggestion to him is to add the 4 column with data as below and in tableau bring the shapes accrodingly using some kind of a formula or so.
GC = Green continuous
GU = Green upwards trend
GD = Green downwards trend.. followed with different color codes (Green/Red/Yellow) as per data.
Is that possible in Tableau? If so any suggestions here would be greatly appreciated.
Thanks,
Kiran

It is definitely possible, as long as you have a formula that can produce the GC, GU, etc. values. Then it is simply a matter of mapping your custom values to relevant shapes (which is a simple manual one-off step in Tableau). If built-in shapes are not sufficient, you can add custom ones. Some types of shapes can also be colored dynamically, based on another formula.
Use Tableau Help or Google/Tableau Forum to find out how to do all of this.

Related

How to add the values of a binary dimension type column in a bar chart in SAP Analytics Cloud

I'm trying to put together a story and I'm starting to create the first pages with graphics. The graphs are based on tables that are in S4/HANA and have the format as shown in the first image but with more fields, in each line there are weeks (repeated, although they do not appear like that in the photo) and that week will have a condition; "SI" or "no".
When creating a graph I can represent the amount (y-axis) against the condition and the week (x-axis) and it would look like this (2nd photo). In addition to this, I would like to add another bar per week that represents the TOTAL, the sum of condition = "SI" and condition = "NO". Is it possible to do this from SAP Analytics Cloud or do I have to rack my brain changing the lines of the source table adding a total there?
As a clarification, I do not need to add 2 different numerical fields or anything, I would simply like to add the SIand NO of the condition column, if on the y-axis I put volume that represents volume and if I put amount that represents amount, but I am looking for a third bar With the total, I don't know if I explained myself well.
Thank you very much in advance, if you help me solve this I would be very grateful, greetings
https://ibb.co/dcCKKzF
https://ibb.co/kDN3ZXp

How do I colour the table based on customer type in tableau

I want to colour all the rows in my table based on the customer type. If is corporate all the rows are red colour while the individual is blue colour.
How can i do so?
If you're planning on displaying the data in a table, such as your screenshot, you can explore banding on the format menu. Perhaps the simplest solution, although some compromise is likely.
In general, what you want to do is complicated and not worth the effort. There's a technique in Tableau, the placeholder method, which allows each cell to colour based on certain criteria. Happy to share more about this if you want to know.
Tableau isn't Excel, and those tasks trying to replicate Excel can be frustrating.

creating a tableau pie chart with no measures data

I have a table (as seen in link below), that has a system assessment that we conduct every year. The assessment is a series of 4 questions (or as we call them 'attributes') and there is only 3 possible outcomes.
Table
Using Tableau, I'd like to have the system as a filter (easy to do), and for each attribute build a pie chart. There are no measures that I capturing.
Any thoughts on how to do this?
Thanks.
Once you get to know the power of LOD calculations in Tableau it is not that tough. Walkthrough-
Step-1 Create LOD calculated field for each Attribute as, Attri_1_Measure
{Fixed [Status of Attribute 1] : COUNT (sheet_name)}
Step-2 Add Attri_1_Measure to angle, size and text measures, Status_of_attri1 to text and color. You'll get your desired view.
Step-3 Add System to filters, right click and add filters to context (very important step).
You can repeat these steps for each attribute.
Note: Beginning version 2020 of tableau there is no measure as number of records, but there is a sheet/data_table count measure therein. Good Luck.
Aliter: Easy solution:
Click on/select number_of_records/count(sheet) and also 'attribute_1field in data pane and clickpie_chartonshow_me` (ctrl +1) tool of tableau and pie chart will be created.

Tableau and modified Sankey diagram

I have been trying to recreate a modified Sankey based on Adam's work with the American Whiskey Viz and Beatles Analysis Viz that are found here:
https://public.tableau.com/s/gallery/beatles-analysis
https://public.tableau.com/s/gallery/american-whiskey-wheel
I am trying to create the same effect on my own data set. I am not sure how Adam was able to line up the sankey portion with the bar chart perfectly. I have tried many different ID2 field configurations and varying metric fields in the Curve calculated field options with no success. I haven't been able to get them to line up exactly. I would also like my bases to start in different locations along the sankey and not all originating from the left.
I realize that the examples are working with much smaller data sets but believe that this should still be possible with my data. I have tried Business ID in my curve formula and wondering if I need to have a more generic metric in my model. Andy uses Song ID which is a number between 1 and 45. My IDs range from 3-3000. You can see in the workbook attached how I am setting up these fields to get the curve of the Sankey. Is it possible to get them to line up with the barchart at the top of Dashboard 2?
UPDATE 3/22/16:
I was able to get the lines much closer to their bars by modifying the Curve-LoyaltyID2 field. I loaded it to Public for easier viewing. Some lines are still not aligning directly to their corresponding bars though.
Tableau Public
Thanks for any ideas you have!

Crystal select expert

Is it possible to use the Select Expert to generate a filter so my reports only show results when a certain OLE Image is visible.
we currently have three OLE images (shown below)
I want to generate a filter to create a report that only shows one of any particular OLE Image. (just the results that have a red X against it)
Is there a way of differentiating between OLE Images?
If you require any more information I will try and get it as soon as possible. thank you in advance!
Because the images are completely dependent on {PROD_Product.Traffic_Status}, you can just filter the report according to this field. If you wanted to only display the rows with the red X for example, you could just add {PROD_Product.Traffic_Status}=0 to your record selection formula (basically, the inverse of the conditional suppression formula for the images).
In reality, you'll probably just want to create a numerical parameter that contains the choices 0, 1, or 2 to represent the different traffic statuses/images and filter according to that {PROD_Product.Traffic_Status}={?Traffic Status Parameter}