Change "None" to nothing ("") when the metric is Null - tableau-desktop

I am adding a metric to a view's page caption. When it's null, it's showing "Null" or "None". What I want is to not show anything when it's null. Is there a way to make it happen?
I am thinking to cast the metric to string so I can add "else ''" in the editor but didn't work. Any ideas?
I added these two metrics and want to show the green one when it's good and red one when it's bad. however as you can see in the caption, the red one is "Null" instead of showing nothing.
the metric for good
the metric for bad

From the way you have defined your calculations, only one of them will be true while the other one is false (ie. either your ARR Churn Rate... is higher or equal than 0 making the "good" calculation true, or your calculation will be lower than 0 making the "bad" calculation true).
If a calculation is false, then no value will be calculated for it, making it end up as null (while the other calculation will be true and will have a value).
Why don't you use a single calculation with 2 different result options (ie. IF.... condition THEN..."good" ELSE "bad") and assign colours based on the good/bad result?

Related

Conditional formatting color scale - second highest value as maxpoint?

I have a table with values in it. I want to be able to immediately spot the cells with the biggest values. Using the color scale tool works nicely as demonstrated below
However, with my real data, there are a few cells that have huge values in it - these then raise the maxpoint so high that the formatting kind of breaks for the other values since in relation to the maxpoint, the other values are very small, making the colors among them almost indistinguishable.
I have obtained the second-highest value by doing =large(A1:C3,2) in an unrelated cell - however I seem to be unable to reference that cell in the Maxpoint setting. Is there a way?
Another idea was to manually set up a color scale that is more logarithmic in its curve but this really isn't a nice option I think. The only option that's left that I can think of is to dynamically color the cells via a script - is there already an easier or existing solution?
try like this:
=LARGE($A$1:$C$3; 2)

activating turn off switch when measured value is greater than constant (LabVIEW)

I am measuring a varying voltage value and when it exceeds some threshold, currently set at .25, as shown in the image, I want the power supply to be cut off.
I thought I could just use a 'greater than' comparison to activate the power off button but it does not seem to work.
Any wire on a LabVIEW diagram can only have one source. It can be wired to any number of inputs but only one output - otherwise, what should the value on the wire be, if the two outputs returned different values?
If you want to use the result of your comparison to activate the 'off' case, instead of the Off control, you'll have to either:
Disconnect the Off control and connect this wire to the output of the Greater Than comparison function instead, or
Insert an Or function in the wire and connect the output of the comparison to the unused input of the Or. That way the 'off' case will be activated if either the comparison is True, or the button is clicked.

using excel to show Increase, Decrease and no change in Multiple colours

Looking for some help or to be pointed in the right direction. Been stuck on this for a while and the main issue is I don't even know where to start. I am sure there is a solution but my brain will not see it.
To use as an example I have a table that shows monthly results for multiple different areas:
What I want to do is in the gap along side each number is show an increase, decrease or no change, using up arrow down arrow and square. That I can do using conditional formatting my issue comes with the fact that I also want it to be multiple Colours. So it will take into account increase and decrease and whether they are in target.See below:
Atm I am copying and pasting each month. But having it automated would be amazing. The outcome would hopefully look like this:
I am hoping there is a way that I can do two things compare to the previous month and then check it against my table to see where it sits then display the appropriate symbol.
Thank you in advance for any help or a place to start.
So extremely easy to figure out once I looked at it in a simplistic way.
Firstly, I used: =IF(-SIGN(E26-G26)= 0, "n", IF(-SIGN(E26-G26)=1, "é", IF(-SIGN(E26-G26)=-1, "ê","")))
To compare the current number to the previous number and get a 1, 0 or -1 depending on if it had gone up down or stayed the same, using this it either displays é, n or ê. I then set the font on these cells to Wingdings. so they become up arrow, down arrow and a square.
Then I use conditional formatting to colour it based on the adjacent cells value.
No need for a long, complex formula
=IF(A2>A1,"t",IF(A2<A1,"u","v")) - set the font to Marlett

HighCharts: To restrict the length of bars in wind rose chart

We are facing issue in wind rose chart when displaying real data. The data values range from very small (100) to very large (1000000000). On rendering the data set in wind rose chart, as the max length has to be set according to the highest value, the smaller values are not visible.
As a workaround to this, we planned to restrict the length of the bars/ spikes in the chart to say 10px so that all the values are visible. But couldn't find a way to do so. In bar chart we can use minPointLength property.
Can anyone provide any help on how to restrict the length of bars or any other workaround for this?
Thanks in advance.
Use type: 'logarithmic' axis, see: http://jsfiddle.net/3pEbJ/
Thanks a lot. It worked in our case. Would like to add few points for the modifications required for using this property.
1. On using “type: 'logarithmic'” property, if the data series contains value 0 for any value, JavaScript will throw error #10 ‘Can't plot zero or subzero values on a logarithmic axis’. To avoid this error you need to change the zero value to some non-zero value. This scenario occurs for stacked series.
2. Providing non-zero value will render that value in tooltip also. So as a workaround, we can provide the non-zero value like 0.00001. This way it will display value 0 in the tooltip for that series and also the corresponding bar would be very small.

Highstock displayed data altered when navigator range is altered

I am have noticed an issue with some of our highstock charts, though not all, where when the range selector at the bottom is altered it causes some of the data values to be change and displayed incorrectly.
For example a value of 4 becomes 2, 2 becomes 1, 1 becomes 0.5 etc.
I can use the tooltip value decimals option to make it display the values as only whole numbers as seen below however it still means the data is incorrect as the drawn line does not match the value, my jsfiddle example contains the area spline chart that has the issue where values change from incorrect values to correct values when the initial range is shortened.
http://jsfiddle.net/WNhmn/1/
tooltip: {
valueDecimals : 0
},
Has anyone else run into this problem? Or have any idea as to why it is happening and how it can be stopped?
This is caused by dataGrouping, set enabled: false, to prevent this, see: http://jsfiddle.net/WNhmn/2/

Resources