Format output of formula field (which is used in charts etc.) - crystal-reports

The output of my formula field is typically formatted like this:
Output of formula field
In my details I can switch this format to a number without any decimal points or thousand points:
Format in details without points
The problem is, that this changed format isnĀ“t displayed in the diagrams or cross tables later on:
Format failure in diagrams or cross tables
How can I fix this issue?
Thanks in advance!

Formatting charts can be confusing because of how varied the layout can be for each different type of chart. I find its is easier to format the display of a chart when you are previewing data on the chart because the layout for the chart in design view may not match what is output at runtime. While previewing the report you should be able to click on any value or label on the chart to select the object. You should see the four points around the object that allow you to resize the object once it is selected. Then you can right click on the object and select "Format Selected Object" or "Format Axis Label" on the menu. Then you should see a tab labeled "Number" where you will find options that allow you to control the formatting. The options found here will vary a little depending upon the object selected on the chart. If you need specific help with these options, it would be helpful if you could provide a screen shot of the window.

Related

Can access display multiline captions in Access 365 form datasheet view?

I have read about using VBA to concatenate terms together using VbCrLf; I personally used Ctrl-Enter to create a second line in the caption field in the properties box.
But, after I do my ctrl-enter, it then only shows the first line of my multi-line caption in the datasheet view of my form.
becomes this...
This form is meant to recreate the functionality our owner is looking for from a current excel spreadsheet (the ability to sort on various columns), so I can't just use a report.
Please tell me I'm missing something obvious such as a caption height property value or something. The multiline caption will be very useful to help maintain appropriate column widths for the data.
Whilst you can display multiple lines of content within the datasheet view for a table by increasing the row height of each record, e.g.:
A more appropriate solution might be to use a text box on a form to display the data, where the height of the text box can be predefined in the design of the form, and scroll bars can be displayed:
There is no solution to adjusting column headers in the specific "datasheet" form that I was trying to use. It's a nice quick way that works for 95% of your uses. But, if you need more control (like me and others on the internet) the only solution is to create the form as a "Tabular" form in the form wizard. There are other descriptions of this type of form in Access (just to be confusing).
This is also described as a continuous form likely because that's the form property value toggle when you dive into the details.
It's more work but you have full control over the size, format, etc. of your column headers when creating/designing a tabular form.

How to exclude "others" in my pie chart in Data Studio

I have a pie chart in Data Studio as below:
As you can see from the donut, there is "others" slice which I don't want to see it there, and I want to customize the label to show "python (88%)".
Can anyone share your expertise and enlighten me on how to do it?
Thank you very much.
UPDATE
Following #Jaishree's suggestion, I have selected only the top 10, so there is no "others" now.
however, I still don't get it on how to show the label as "python (88%)"
As you can see, I have two fields in my data source (the table on the left): Category and TagsTotal. There is NO percentage_field.
To show "percentage", all I need to do is switch to "percentage" in the STYLE option:
What I ended up of creating this customized labeling is detailed below for future readers:
Back to the data source, create another field pctg:
round((TagsTotal * 100 / (Select Sum(TagsTotal) From cte)),2) as pctg
for the donut chart, create a new field named my_label
CONCAT(category," (",pctg ,"% )")
add the new field my_label as the Dimension field
change in STYLE to show "label"
Voila!
Very cumbersome but finally kind of working with the rest to be sorted out:
1. The newly created field is not showing up in the right-side panel as an available field and how to modify it?
2. The legend needs to be customized to display two lines instead of showing a pagina
In Pie chart and donuts chart you can only show 20 slices. The chart shows the results in a sorted way. If you do not want to see others, then you have select only 20 data points.
"python (88%)" If you want to show the labels as "python (88%)" you can add a new field and customize the labels as you want.
You can do that by click on "create new field " then "add new field" and then give a name to the new field in formula type the below code:
CONCAT(category," (",percentage_field,"% )")
To use the above formula you have to create a percentage_field also before, in the same way with percentage formula.

How to mix bar and lines in Grafana in one chart

How can I display one dataseries as bar and another as a line in one graph like it is used in the last comment of: see last picture
Short answer:
It's not possible (yet) using the Grafana UI, only by hand.
Long answer:
As far as I know there is no way of doing this using the UI switches; you'll have to use the use the "alias or regex" fields below the visualisation configuration.
Prepare your data
Before you start, make sure that your queries A and B retrieve actual data. You won't see your data otherwise and be confused why they're not showing.
Adding fields and values to the aliases
Once you are selecting the correct data you want to display, just add the following on the visualisation section of the graph at the 'alias or regex' fields:
Add 2 overrides, one for each value you want to display using the 'Add series override' button.
Add a "Bars:false" option flag and a "Lines:true" for the value you want as a line.
Be sure to use the exact opposite values for your bars ("Bars:true" & "Lines:false")
Add a 'Y-axis: 2' to the value you want to have on the right side of your graph.
Optionally, you can add a "Z-index: 3" for the value that you want to have on top (I added this option to the line to make sure it's always drawing on top of the bars).
Enjoy
You should now have a nice graph with 2 types of data and visualisations in one; something like this:
For those who were asking in the comment section, yes this isn't available in version 8, however, you can still change the time series visualization to graph(old) so you can set the alias/regex.

Accessing object that is below a floating object

Link to original post
Here is what I am facing.
I am using the 'sheet selector' technique to switch between two sheets and the sheet selector parameter is the 'PY' and 'Date Range' option.
I also want to hide the corresponding filters along with the sheets.
When I pick PY - the checkboxes will be displayed.
When I pick date range Rebate Commit Date will be displayed.
I was able to successfully hide PY option by setting it to 'Only relevant values'.
However that is not working for date range
So I used a floating object in a vertical container to hide the date range.
It is hiding successfully but when I need to access date range am not able to do that because of the floating object on top.
Any ideas are highly appreciated.
Thank you.
Answered in tableau community - Link

Dynamic Title In Tableau

Looking for a solution to how to show All in Dashboard or sheet title. Along with the Title i am adding Country Name in the title. It works perfectly for individual selection but when all countries are selected i need to show All rather than name of all the countries.
The alternative that gives you the most control is to create a worksheet that displays the text you want, and position this worksheet in place of the title on the dashboard.
Same goes for filters and legends. If you don't like how the stock ones behave, make a worksheet that looks and behaves as you prefer, and use that worksheet as a substitute for the stock filter or legend.
There is an easy fix, i had not selected show "All" Values from the customize filter drop down.