Hide a band in stimulsoft report - stimulsoft

I have a mrt report with multiple bands,
Can I hide any of this bands on some condition ?
For example there is a string field in footerband and I want to hide this band if this field is empty

You can use the Conditions for this.
There is a Component is Enabled option. You should disable it. After this if the Condition expression is true the component will be disabled.

Related

Hide a band in stimulsoft report based on condition

I have a report with stimulsoft.
This report consists of 3 bands, how can I hide a band based on field data(i.e ID is null) at run time.
You could use the Conditions. Specify an expression when the band should be hidden and uncheck the Component is Enabled option there.

Sharepoint Drop-Down Column with Multiple Select Choices

One of my columns contain 200 countries. End user should be able to select multiple items from the list.
Sharepoint multiple choice column only allows for one of three choices:
Drop-Down Menu
Radio Buttons
Checkboxes (allow multiple selections)
I'd like to be able to combine the features of Drop-down menu and checkbox.
Is this possible and is there a workaround in Sharepoint designer?
Not looking to do this in InfoPath forms.
Thanks!
You need to put your 200 Countries values into a Custom List, then use a Lookup column rather than a Choice column.  With the Lookup column, you can allow multi-selects.
If you can change your field type to another then use type "Lookup column with multiple values". It has good UI experience. But you must create additional list with your 200 countries.
If you want to use only choice type field then I think no, you must add custom control on form.
May be like this:
1. Add script on form.
2. Script will render some jquery autocomplete control (https://jqueryui.com/autocomplete/#combobox) or select2 control (https://select2.org/dropdown or https://select2.org/selections) on form load. If no third party controls exists that applied to you then create own control with necessary features. Populate it from out-of-box field options.
3. Hide out-of-box field.
4. Add onChange or onPreSave handlers that copy values from your custom control to out-of-box field.
When form saved it save out-of-box field value to list item.

Force user to select only one value from filter spotfire

Is it possible to force the user to select only one value from a filter ?
For a radio button filter as below, is it possible to remove the buttons all & none and make sure that only one Choice is selected ?
you cannot change the existing filter features or functionality without developing a custom extension for a new filter control.
that said, you can certainly emulate a filter using what's called a Property Control and a Data Limiting Expression. for single selection, you're stuck with either a Dropdown control or a Listbox (single select) control.
you would need to...
create a Text Area Visualization on the page somewhere
insert a Listbox or Dropdown Property Control into the Text Area Visualization
create a Document Property with the same data type as your filter column and associate it to the Property Control. you can set this to Unique Values in Column or write in your own Fixed values.
open the Properties dialog on the visualization you'd like to filter and navigate to the Data page
scroll down to Limit Data Using Expression and use an expression like [MyFilterColumn] = "${MyDocumentProperty}" (quotes are required for string values; if numeric then omit quotes)
Please add this CSS in the HTML page of the spotifre to remove all and none
.ColumnFilter .sf-element-filter-item:last-of-type { display:none; }
.ColumnFilter .sf-element-filter-item:first-of-type { display:none; }
Another way to force the users to select one option is to add a Show/Hide in the visualization like this: Hide if UniqueCount([Field]) is greater than 1

Disable a Band that has an Empty Data in Stimulsoft Reports

I have a Band in a Stimulsoft Report which sometimes it have Empty Data.
When it's Empty, it shows the empty row and if numeric, it shows 0.
I want the band to display but I don't want it display when it's Empty.
How can I disable it?
If I should put a Condition, what is the command? & what should I do?
You should use next expression DetaSource.Count == 0 and uncheck the Component Is Enabled option.

SSRS - Export to excel on different sheets without acting on on page breaks

Given a report like that is it possible in any way to split those tables into different sheets in excel without acting on the page breaks? I can't modify the print layout, so I can't change them. But I need those tablix to be each of them on a separete Excel sheets
There may be a way to do this, although I've never tried it. This will only work on SSRS 2008R2 or later.
You could add a rectangle between each tablix and set it to page break after. Then you can set the visibility of this rectangle based on what the render format is. Globals.RenderFormat.Name
So, add the rectangle between the current Tablix then in the tablix properties change the hidden property to an expression something like this.
=SWITCH(
Globals!RenderFOrmat.Name = "PDF", True,
Globals!RenderFOrmat.Name = "RPL", True,
True, False
)
The above will hide the tablix for interactive viewing or PDF export and not hide it for other formats.
There are several render formats depending on the version of SSRS so it's best to add a text box temporarily and set its expression to =Globals!RenderFormat.Name then export to all relevant formats and see what the name for each is and adjust the SWITCH statement accordingly.
Sorry, but the answer is no. SSRS only uses the page break property to create new sheets. In terms of a workaround, you could either have two versions of the report or you could add a parameter to choose whether or not to use the page breaks.

Resources