How can I create a LOV where the user can select as many options as they want (like a series of checkboxes and select all that apply)? - teamcenter

How can I create a list of values (LOV) where the user can select as many options as they want (like a series of checkboxes and select all that apply)? I am only away of being able to select one option as opposed to selecting many, but please correct me if I'm wrong.

"The property you will attach the LOV to will need to be an array. Then in TC you can multi-select more than one value of the LOV."
Source: https://community.sw.siemens.com/s/question/0D54O00007DC6yWSAT/how-can-i-create-a-lov-where-the-user-can-select-as-many-options-as-they-want-like-a-series-of-checkboxes-and-select-all-that-apply

Related

dynamic column in tableau based on quick filter selection

I would like to know if it is possible to create a dynamic column in Tableau that will change based on quick filter selection.
Example:
Tableau sample screenshot
Try using parameters to select the category. This will give you step by step directions.
Doing this is as simple as it looks.
Assuming that you're using a query to fetch data, make sure the column on which you want to apply filter is available in the select statement.
Next, go to Sheets and drag the field into Filters section, right click on it and select Show filter
The filter will be visible on the right pane and can be used to alter the data depending upon the values / ranges selected.
Also, filters on Tableau give you a host of options to select from - dropdowns, radio buttons, check boxes, sliders etc etc...

Copying records from one table and to another based on the value of a yes/no field

I'm beginner in MS Access and I have managed to make my own database for customers who sign up for soccer academy. Now what I want to learn is how to make a macro to do the following action:
"If a Yes/No field in Table1 is equal to 'Yes' then copy the record from Table1 and paste it to Table2"
I signed up a lot of new players because I gave them 1st day free and not all of them continue after that. What I want from this system is if that new player pays, I want him in a separate table to further calculate financial stuff.
I have made a form to sign up players and two tables, one for newly registered and one for those who continue with us and paid.
What you're going to want to do is create an Append query. You can do this by following these steps:
Click on Create, then Query Design from the ribbon on top
Select Table1 from the Show Table popup, and click "Add"
Click "Close" from the Show Table popup
Highlight all your fields, then click-n-drag them into the grid at the bottom
In your Yes/No field, set the Criteria to Yes
Click "Design" from the ribbon on top and choose Append
Set the Append To Table Name to be Table2
Save the query
Then, just set up a macro to run the query you've just created.
Without specific information, that's the best I can do. But it's definitely the easiest way to go. You can write VBA to do it, but that requires a bit more knowledge

Crystal Reports limit Select Expert dropdown

How do I limit the Select Expert drop downdown to only a few records which I want in there?
In the image, the dropdown which I am referring to is the one with "01-NON-Exempt" in it. This dropdown pulls all records from the hrtables.fdesc field. I want to limit the records to only a select few which will populate this dropdown.
The dialog you're trying to use (Select Expert) is a design-time feature, and it will show all the records in the dropdown. The only way to change/restrict what it shows is to change/restrict what the database returns.
What you are probably looking for is a way to offer a similar dropdown to users at report run-time. That's what parameters are for. You can provide a parameter with a list of values (which can be a subset of field values), and when a user refreshes the report, they will be prompted to choose a value from the list.
For some more details, I did a quick search and found this article (pages 3-4) seems to be a decent explanation of how to create a parameter and use it in the record select expert.

How do I make one parameter dependent on another?

I need two parameters in my report. I know how to make them, but I need the 2nd one to depend on what the person chose for the first answer. For example, if you choose USA as a country, I need the second one to show only states in the USA.
How can I do that?
while creating a parameter.
select option as dynamic.
Then start selecting the database fields in parameters, First select country and then states
by clicking on the 2nd column you name the parameters.. you can change the name as you wish after clicking ok by using rename option.
Now place parameters in report of set parameters in record selection formula.
When you refresh the report you get parameters with dependency.

Hide duplicate row SSRS 2008 R2

Duplicated data is coming in my report because source table has duplicate data. Without creating group, I want to hide duplicate data writing expression. So what I did: I select table row and put a expression for hidden property of table row.
The expression was like =(Previous(Fields!ID.Value) = Fields!ID.Value)
but it did not work ... Still duplicate data is showing. So tell me how to suppress duplicate rows in ssrs writing expression not by grouping.
You probably should try these options first:
Try to clean the duplicate data at the source.
Change your source query so the duplicates don't appear in the dataset. (e.g. SELECT DISTINCT)
If not, on the row's Visibility Hidden property you can use the Previous function:
=iif(Fields!YourField.Value = Previous(Fields!YourField.Value), True, False)
You would have to sort on the YourField column for it to work.
I was putting the expression above also until I started using the "Hide Duplicates" line in the properties pane. You basically just select the row, in the dropdown choose your Dataset and that's it. any duplicates will be hidden. Also if you just want to hide certain textboxes duplicates you can do the same as i stated earlier except click on the textbox and not the row. Just another alternative, i'm aware you said using an expression.
You can do it using expression or "Hide Duplicates" options from cell or row properties.
Expressions :
=IIF(Fields!YourField.Value = Previous(Fields!YourField.Value), True, False)
Hide Duplicates Steps:
Select row or cell
Click on F4 key on your Keyboard
Look for "Hide Duplicates"
Choose your DataSet from the dropdownlist
Done, I hope that helps
As an alternative option, you can do it by setting row groups. In a report I was trying to create, the Hide Duplicates property wouldn't behave correctly because of using the same dataset multiple times in a list container.
All you need to do is set the row group properties for the default row group (rightclick the grey row header, and go to Row Group then Group Properties), and add Group expressions on the General tab. Add as many as you need for each field. It's like the Remove Duplicates tool in Microsoft Excel
Sometimes the Hide Duplicates option does apply to the report content. If you add a =Sum(Field!Field_Name.Value) sum around field in the cell, it suppresses the copy from previous record. Of course, strictly speaking this is a solution where the incoming data set has NULL rows for the cells with the issue.
Since the using of Previous function in SSRS compare to the only record previous to it, thus it might cause the duplicate of records still shown if the repeated records not next to each other.
Use the sorting on each table you apply the Previous function, it should resolve the "non next to each other" duplicate records as well.