Libre Office Maximum numbers of cell - libreoffice

I have a column with phone numbers in Libre Office document.
How can i set maximum numbers of cell to take only 10 numbers?

Select the cells of interest then use Data > Validity to open the validity dialog.
On the Criteria tab, set the Allow drop down to "Text Length".
Set Data to less than or equal
Set maximum to 10.

Related

Parallel Detail Sections in Crystal Report?

I want to know that how to make a crystal report such that its details section should display values of details in multiple/parallel fashion depending upon its column value.
Suppose that my data-set for report is as follows,
I want to group by my report on Id and want to display their Value in detail section so that if value is positive then it should display in left side and if it is negative then it should display in right side. But these two sides should be "Parallel" in display like this
Currently if I suppress a field on some condition then it remains blank or when I do "Format with Multiple Columns" then also the required result is not possible. Because In multiple columns option, it is not necessary that my positive's & negatives columns are equal in count, and there is chance to display positive values in negative side.
Since there is no logical connection to enforce what values should be on the same row, you probably need to implement this as 2 subreports placed side by side. One to show negative values and one to show positive values.
The subreports would be placed in the Group Footer for ID and would be linked on ID.

Tableau average line on chart of averages

I have a bar plot with average values for some dimensions, let's say: weekdays. Now I want to put an average line on it - I use Analytics > Average Line. The line I get doesn't show the average for all data examples though, but the average counted from the aggregated values on the plot (avg from 7 values).
Can I get somehow the other one?
Put whatever your [Value] field is called on the Detail shelf. Then double click on it to edit it on the shelf
Change the expression to Total(Avg([Value])) where Value is the field you are displaying
Use this field for your average line, Read about Total() in the documentation. You may also need to edit the table calc addressing and partitioning characteristics to scope your total as desired (although the default settings often work) Read about Table Calcs in the on-line help for more info

Require minimum number of data points before plotting a point in Tableau

Can I cause Tableau to require a certain number of underlying data points before plotting a point on the graph?
For example, here's a graph showing average moods over the course of the day on Tuesdays:
There's nothing uniquely awful about midnight on Tuesdays, it's just that there's only one data point for that particular time, and it's an outlier. Is it possible to have the graph show midnight as missing unless there are more than (for example) three different records from midnight being averaged together?
You could define an aggregate calculated field, called say avg_mood as:
if count(Mood) >= 3 then avg(Mood) end
Since the aggregation is hard coded into the calculation, Tableau will display AGG(avg_mood) for the field on any shelves you use it on, rather than letting you toggle the aggregation outside the formula as it will for other measures.
Note, there is no else branch, so the calculation will evaluate to null if there are less than three non-null Moods in a partition of data rows (based on the dimensions)
You can control how null values are displayed in a line chart. On the format pane, select the field in question from the pull down menu by the word Fields at the top right of the format pane, then select the Pane tab, then at the bottom of the format pane, adjust the Mark settings in the Special value section.

display specific number of significant figures rather than decimal places in crystal reports 2008

Good Morning!
I am working in Crystal Reports 2008 & have a report template that I'd like to use with various dynamic parameters (called in a downstream application).
My data can vary from being on a scale of 0-1 to a scale of 1,000-10,000.
I'd like to display it with 3 significant figures so when the report pulls in a dataset that
looks like this --> displays like this
0.76895 --> 0.769
0.6672 --> 0.667
1.0335 --> 1.03
but when the data set
looks like this --> displays like this
12,125.65 --> 12,100
956.35 --> 956
4,352.22 --> 4,350
My current work around is to make two templates-- one to use with my small value data, set to display 3 decimal places; and another to use with my large value data, set to display no decimal places.
I was wondering if there was a way to set significant figures displayed rather than decimal points?
Oh! I would do it in SQL first and pass it in as a string but I need these as numeric values so I can summarize them elsewhere in the report. Thanks.
If you right-click on your numeric field and choose format, Customize..under the number tab you get a bunch of choices to set the decimal separator, how many decimals to display, etc. choosing the formula button next to Decimals, you could put in a formula that looks at the amount of digits after the decimal dot and then either set the decimals to 2 if there are more than 3 decimals, and to zero decimals if there are 2 decimals. They key here is to get the order right. You want to check for the 2 decimals first and then for 3 or more decimals. If you do it the other way around the formula will display everything without decimals.
Hope that helps,
Chris
Use something like this.
ToNumber(Totext(<<DatabaseField>>,0,""))

Max number of Columns in Crystal reports?

What is the maximum number of columns that can be displayed in crystal report?
[Including all formats like landscape, A4....etc]
As far as I know there is no theoretical limit to the number of columns you can have in a Crystal Report. You can alter the paper size, (depending upon the printer driver,) to something ridiculously large.
For example, the Cute PDF driver I have installed allows a page of 24 x 108 inches - over 2.7 meters. You can also shrink the column to virtually no width. I have done this when exporting data to a CSV file via a report, with no requirement for the report to be printed, with around 40 different columns of data in a line.