I'm trying to create a Bar chart for a Survey Question. The Survey Question has the possible options
Strongly Agree
Agree
Neither Agree nor Disagree
Disagree
Strongly Disagree
N/A
I would want the same order of the labels on the Scale as well. The Sort properties available in Visualization properties are:
Sort by Value, Sort bar segments by value, Reverse bar segment order
Can anyone please help me over here by lending a hand?
In Spotfire you can't set up custom sort in visualization, need to do it for the column itself, and all visualizations referring to that column will follow it.
Go to:
edit
column properties
select the column you want to sort
select "sort order" tab
select "custom sort order"
click "configure"
official help: https://docs.tibco.com/pub/spotfire/6.5.3/doc/html/data/data_details_on_custom_sort_order.htm
Related
I need to have a BI Dashboard where the columns(eg, Brand) or group of columns ( eg, Company, Company site) have to hide/show in all analysis of dashboard based on check box selections with Brand and Company respectively. I am able to pass the column header and formula based on selection through Presentation Variable in Prompts, but stuck with hiding columns when the respective check box in unchecked. Note than I'm using OACv5.8.
Thanks in advance for any help on how to achieve/proceed further.
Why don't you use standard, out-of-the-box functionality like column selectors or show/hide sections?
Instead pf playing with presentation variables and trying to fiddle around.
I am very new to SSRS. Infact this is my 2nd report.So in SSRS, I went to Interactive Sorting and checked the "Enable interactive sort on this text box". Chose the first radio button "Detail rows".For sort by I chose "ColumnName" and clicked ok. I ended up with a sort icon on every value .The data here may seem duplicate but it is correct. I have additional 6 columns apart from this "Product" column. I repeated the sort action for all columns same way, the only difference being the different "Sort by" column. I get the icon on all columns in all rows. I want it on the header only.
Apart from that I get this warning 6 times :[rsIneffectiveSortExpressionScope] The text box ‘ColumnName’ is defined at the scope “Details”, which is identical to the scope used as SortExpressionScope. This interactive sort has no effect at runtime, since it sorts only the particular instance itself.
What is that i am doing wrong ?and what should i do to correct it?
Rt click on the textbox with the Column Name, click on
Interactive Sorting
then Check
Enable Interactive Sorting on this textbox
and then select the appropriate group you want to sort.
AFTER EDIT
if you dont have any groups yet, just select Details Row. If you have/create any group, then you need to select the radio button Group.
The sort by will actually have the column you want to sort with.
I am trying to sort the column group in crosstab but iReport is applying its own sorting by name ascending. I tried inserting "Order By Exp.", but it didn't work. (Field not found error!)
What is the correct way to add our own sorting by field/variable? Or I have presorted data, viewing it as it is will do.
I had a similar problem. I wanted to display a "Heading" from the database, but I did not want it to sort alphabetically since the order of the headings were user determined.
I had a HeadingOrder field that I wanted to sort by. To use it in the sort expression it has to be in the cross tab.
I had heading in my column so made 2 column groups: 1) HeadingOrder 2) Heading.
I removed the text field that displayed the heading order number and collapsed that area so it did not display. This allowed the cross tab to display the Heading while using the HearingOrder field as the dominate sort.
WORKAROUND:
Concatenate the field (to be used in the Column-Group) with the sort by field in the sql query itself. suppose field name is "title" and sort field name is "rank", then
select (mt.rank ||'-'|| mt.title) as title from my_tab mt
(Above query specific to postgresql)
Use this "title" field in corsstab column-group as usual.
Click on text field of "title" column group on crosstab.
Edit its "Text Field Expression" from properties panel as $V{title}.split("/")[1]
Right click the crosstab in ReportInspector-->click on crosstab data
a new window would open.
Now click on Data is pre-sorted. this will do the work
user1120946, for me what did the trick was to disable the total of the subgroup (e.g. Heading), and enable only the total of the overgroup (e.g. HeadingOrder). Then just put the measures in the HeadingOrderTotal column.
That is meant as a comment on the second answer.
this is a duplicate of Crosstab Sorting in JasperReports and the referenced "rather clean although tricky solution" based on hidden group(s) works quite well
i created a matrix report that have 2 rows and 6 columns.
picture 1 (see album picture in the bottom)
i want so active a interactive sort on the last columns that named 'Matrix1_ObjName'.
to do so i clicked right click on the field and go to properties > interactive sort.
than i entered the parameters like in the picture 2 (see album picture in the bottom).
i have done some research and the closes answer was posted on this link
the interactive sort doesn't work.
to be clear i want that the LoginName column will be sorted by the grade that shown in the objName row.
sea picture 3 (see album picture in the bottom)
album pictures
thanks to all...
I never use interactive sort. When I want to be able to change sorting behavior, I do it with a parameter. Create a new report parameter and specify values. Use something descriptive for the labels, then I use integers beginning at zero for the values. After the param is set up right click on a field in report design and go to Row Group then Group Properties. Select Sorting from the menu and build an expression with an if statement similar to this:
=IIf(Parameters!sort.Value=0,Fields!First_Sort.Value,Fields!Second_Sort.Value)
Might help you.
Is there a way to specify the default sorting direction for columns in a Telerik MVC Grid?
example: click on column 'Date' and it sorts descending, click on column 'Name' and it sorts ascending
I do not think there is a way in today's Grid to change the "cycle" order for sorting operations. By default, the Grid will cycle through these sort orders when the header is clicked:
Unsorted > Ascending > Descending
If you use the API options described by Dick, you can set the initial sort behavior, but once the column is clicked, it will "resume" the cycle. So, if you set Date to Ascending initially, the next click will sort by Descending.
This is relatively common behavior for web grids, so it meets user experience expectations.
If you want to take explicit control over sorting behavior, there is a rich client-side API that allows you to specify sort and filters directly:
var grid = $('#yourGridId').data('tGrid');
//Descendingly sort the records by the Name property
grid.filter('Name-desc');
As you can see, you can specify the property name and sort direction. You can also sort on multiple fields. See the online docs for more examples.
I suppose you can play with the OrderBy method of the Telerik MVC grid and define the sort order explicitly - at least this is what I see from the demo description here.
Dick