Set data range in chart to only use values > 0 in libreoffice calc (without using a filter) - filter

I have created a chart from a spreadsheet which contains a number of values. I want to show values in the chart where one column has values >0 and ignore the others. When I filter on the data the chart is perfect. But I would like the chart to be independent of a filter. I would prefer the chart to "self-filter".
Is this possible?
So in the above example I would like the chart to pick up the first because of the number 7 in the last column, but ignore the next entry because it has a zero in that column.

Related

Can I make a circle/table graphic in SSRS and divide it by a passed number

I was asked to create a report (in SSRS visual studio 2019).
The report has the following table number, numeric. How many people per table (generally 4-12), names, etc and the order in which the people will sit. From this I'm being asked to create is a graphic visualization of a circle (broken out evenly by number of guests per table) in the order of which they are seated.
For example here is my data set:
I need to create a seprate page with the lists below so it would like like this
Page 1 would have this:
Table 1 - 8 Guests
Page 2 would have this:
Table 2 - 4 Guests
we can also use embedded images -- the team has an image for each table size but we still have to obtain the locations of each spot (which means we'd have to know how to divide a circle)
You can do this easily.
Add a list or single column table and the set Dataset property to your dataset name.
Change the row group (probably called "details") by adding a group that groups by table.
Now insert a pie chart into the table cell. We should now get 1 pie chart per table.
Click the pie chart and add a value entry, set the value expression to =1/countrows(), this bit will just split the chart up evenly based on the number of guests.
Set the category group to the guest field.
Right-click the chart and "Show data labels", then right-click the label and set the value to this expression =Fields!id.Value & " - " & Fields!guest.Value. Set the data label position property to "outside".
Finally click the chart and expand the "custom attributes" section, set the PieStartAngle property to 270, this will make sure the first person is immediately after the 12 o'clock position.
Oh,. and set the chart title to something like `="Table " & Fields!table.Value"
The final output looks like this...

multiline row with dynamic row height in grid in vaadin 8

I am using Vaadin 8. In grid, I have multiple columns, where cells corresponding to one column can have multiple lines. I am able to show the multiple lines using following approach
referenceGrid.addColumn(questionAnswerSummary ->
questionAnswerSummary.getAnswersList()
,new HtmlRenderer())
.setCaption(ANSWER_COLUMN + "1");
where getAnswersList have data with <br>
But now the row height does not adjust itself.
How can I adjust the row heights depending on the number of lines in rows or is there any other way to show the multi line in rows.
P.S I was able to achieve the above when I was using vaadin 7. I used verticallayout component as the column type.

OBIEE Pie graph - How to always display both actual and percent values?

I've created a pie chart and can see the data labels on rollover. On rollover, l can see the actual and percent values together, but after changing the data label display property from "on rollover" to "Always", It only shows me either the actual or the percent values.
How can I show both the actual and the percent values in the "Always on" data labels?
I've tried to adapt the xml, but I don't know the correct way to do so.
Here is a trick to show both...
But if you want a Legend, you must include the entity Names before the value and percent. The result will be that the pie values will have both the entity/grouping name, actual value (because now, for OBIEE, its part of the enitity name) and the percent.:
First, you must enter the graph properties of the Pie Chart:
Graph Properties (Click the xyz icon at the top-right of the Graph view in the Results tab).
Click Titles and Labels > Data Markers > Display
Ensure that Show Data Labels is set to Always.
Ensure that Display is set to Name and value.
Ensure that Change Value is set to Percentage of total.
Click OK > OK.
Now create a concatenated column and add it to the Pie chart (credit to Miky Schreiber's blog):
Add a new column (call it "concat").
Edit the new column's formula to be the concatenation of the entity--that the pie chart groups/slices by--and its measure value.
This is a string column, so you’ll need to convert the measure into string.
It will look something like this:
LOGICAL_TABLE.ENTITY_NAME || ' ' || cast(FACT_TABLE.MY_MEASURE as char)
Select the checkbox Treat as an attribute column > Click OK.
Now Edit the graph/pie view and in the Layout editor, drag the concat column under Slices and drag the measure under Slice Size. Optional: Select the checkbox Show in Legend.
Save your changes.

SSRS: How to aggregate columns into one in a bar chart

A,100
B,120
C,50
D,20
Plotting this in a Chart produces the correct result: it gives me a chart with 4 columns.
What i want however is to add all these values into one column and have the chart show only one as i will be adding more data series (via lookUp) that will show additional related data.
Can this be achieved?
You can modify the dataset of the report, by summing A,B,C and D instead of selecting each one on it's own.
Try changing the chart type to a stacked column chart

Creating Multiple Birt Charts From the same series

I have a chart in Birt. How can I make multiple charts from the same series. For example. I only want to display 10 x values, and if the x values are greater than 10 I want to make x/10 graphs. I would need to do this since, I don't want to clutter the chart with too many values.
Thanks in Advance
Add a RUNNINGCOUNT Computed Column to your dataset.
Add a Table to your report (bound to your dataset.
Group your new table on the Ceiling of your RUNNINGCOUNT divided by 10.
Add your graph to the group footer of your table.

Resources