Edit Pop-ups on QlikView Chart - qlikview

I have an expression Sum of Cycle Times in a bar chart. I want to display the equation used to calculate the value of the expression when I hover over the bar in the chart. Right now, the pop-up box displays the dimension value and the expression value. Can I edit what is displayed in the pop-up?

You can create a new expression with your expression formula in quotes and set it to 'Text as Pop-up'. This is a common practice in Qlikview charts as a means to get custom pop-up text. It's still not a perfect solution, but it will take care of your problem.

Related

Is there a way to display a different graph only when you select a graph variable?

first, i wanna show only pie graph.
and only if i select one of the pie graph fragments, I'd like to show the corresponding bar graph value.
Is there a way?
In QlikView
Open the chart preferences
Add the calculation condition = GetSelectedCount(FieldName) = 1 (More about GetSelectedCount function)
Open Error Messages
Select Calculation condition unfulfilled
Enter the message. It can be a plain text or expression/calculation
Now if nothing is selected in Director field (or more than one value is selected) the error message will be shown
If only one value is selected then the chart will be calculated
In Qlik Sense
In the chart properties expand Data handling and add the condition in Calculation condition and the message in Displayed message (as in QV the message can be plain text or calculation)
Nothing is selected (or more than one is selected) and the message is shown
Only one value is selected and the chart is calculated

Can you force a label on top of a bar chart in SQL Server Reporting Services?

I would like to ensure the labels of my bar chart are above the bars. Can you force a label on top of a bar chart in SQL Server Reporting Services? If so, how?
The issues are the colors are so dark, it's hard to read them if they are not above the bar in the chart. I could just change the colors, but I'd rather learn how to force the label location if possible.
I'd like all numbers to be above the bar, like over the blue bar below. I have over 100 different charts in my report, so the scale will vary greatly depending on the particular report.
Thank you!
In Visual Studio, design mode, ensure that the properties window is visible, then click on any of the labels on the chart.
At this point, the properties window should show the properties for Chart Series Label.
Find the 'Position' property, which probably is showing the value 'Auto', change this value to 'Top' and this should do the trick.
You have to first make sure the chart type is not stacked.
In my experience the "Position" property doesn't always work.
Sometimes you have to go to the properties of the series, then "Custom Attributes", then "Label Style" then select "Top".
What #niktrs said in the comments of the other answer about setting the AllowOutsidePlotArea property is also true.
Microsoft do not use the label Position property for some of the chart types.
They tell us what they use by default here - in your case "on bar charts labels are placed outside of the bars that represent data points" (they appear to mean "column charts")...but sometimes with a large value it's placed just inside, sometimes partially in-out (and if you try the "Outside" position it just fails to render!).
As #jayvee has mentioned the trick with Column charts is to select the value and change the SmartLabels AllowOutSidePlotArea to True (from Partial).
However if you have a Stacked Bar chart then labels are always in the centre of the particular value.
The hack to get labels on top is to add an extra Stacked Bar value with the Color set to "No Color" and move it to the top of the values (using the Chart Data designer arrows).
The trick is getting a good expression value to use - a constant ends up too big or too small at some point, so I found a percentage of the stacked values works best (remembering to change Nulls to Zeros)...25% to 30% usually works.
Then set the value Label to the value you want to display in the data label.
I just had this issue, I was able to fix it by making sure the chart series "Smart Labels" - "Disabled" property was set to "True"
This is what my properties pane looks like:

Modify chart series tooltip #ValY before displaying in vb.net 2012

Using ToolTip I am displaying data point values on a line chart. The ToolTip display was activated with the following code:
Chart1.Series("Wtr").ToolTip = "#VALY"
This works as it should but I need to perform some math on #VALY" before ToolTip displays it. Basically, I need to divide it by a fixed factor to reduce the value to a percentage (e.g. #VALY / fixed factor.) I've tried assigning #VALY to a variable but I can't get the value of #VALY.
I also tried using the ToolTip Popup event but it doesn't fire when hovering over a chart series. ToolTip Keywords might be the solution but I can't find a way to assign a fixed value to a Keyword.
I've spent several weeks researching and playing with this but haven't hit on a solution as yet. Any help would be greatly appreciated.
This is a Windows 7 / VB.Net 2012 platform.
In case anyone else needs to know, i finally solved the problem myself. I created a dataview on my datatable and used it to databind the columns in the datatable. I was then able to select any column I wanted for my tooltip. In this case I wanted to display "WtrRaw" when hovering over a "Wtr" data point.
prdView = New Dataview(dtProd)
ChartProd.Series("Wtr").Points.DataBind(prdView, "X-Axis", "Wtr", ToolTip = "WtrRaw")

QlikView - adding a value to an average trendline

I have a bar chart in QlikView and have added in an average line from Properties > Expressions > Trendlines > Average.
I want to display the value of this average, but not sure how...
Hope this is enough information, please let me know if not!
You can display the "equation" for the trendline by selecting "Average" and then checking the box to the right marked "Show Equation":
This then results in a small piece of text added to your chart as follows:

Show / Hide Fields in Pentaho Report Based on User Input

I'm trying to show / hide fields in a Pentaho report based upon user input.
For example, I would like to offer a checkbox to the user saying "Show Product Count" -- if the box is unchecked, it will not include that column in the report.
Is there a way to do this in Pentaho Report Designer, perhaps using Parameters?
Thanks for the help -Monica
Yes, you have half the answer. Have a Yes/No Parameter "ShowProductCount"
Then on the conditional fields, go to the visible property, click the + formula icon and enter:
=IF([ShowProductCount]="Yes"; TRUE(); FALSE())
Simple! :)
There is more to this that the above answer. For example, if you don't want a field to show on the report, you pass the value mentioned above by Codek but the field will not show but the space for it will. The field has to be in a BAND and the band layout has to be set to ROW. Also, on the field you want to not display or display based on user selection, you have to set that field's style properties under size & position - invisible-consumes-space = false.