I understand how loop and merge works, but I can't find any examples that display the results altogether in one question.
What I want is for the user to select all that apply from a multi-select question:
Then instead of displaying each selected answer in a separate question (as shown in the Qualtrics docs) I'd rather all of their selected choices be displayed in one Matrix Table so that the user can rate each individually.
Is this even possible? I'm assuming if so it will require some kind of loop in Javascript? Thanks!
Related
I’m relatively new to Tableau and have a question.
I want to create a heatmap show the location of two different groups of people. I’ve learned how to overlay maps using dual axis but the problem I keep running into is that each group requires different filters to aggregate the data the way I want.
Basically, I want to show:
Group1.id IF charge_id IS NOT NULL
And
Group2.id IF status = ‘ACTIVE’
Whenever I create a calculated field with one of the above calculated fields and place it in the filters box it automatically removes the other group from the map because the filters contradict one and other.
Help is much appreciated 😊
The filter shelf applies to the entire worksheet, so if you want to “filter” each field selectively, use an IF expression in a calculated field that evaluates to null when you don’t want that field in the view.
Give sample data if you want more detail
I have run into an issue with the loop and merge function in Qualtrics. I have 8,000 loops set up, and I am presenting one of those loops randomly to each participant.
When this one loop is presented, I need Qualtrics to NEVER present this loop again. I am not sure how to accomplish this?
I know I can simply separate my 8,000 loops into individual questions and randomize and evenly present in the block options, however 8,000 questions is a lot to compile.
I believe there is a way of doing this in Qualtrics perhaps using javascript?
Can anyone help?
I have also thought of embedding data, and keeping a counter of the question that was presented, but this seemed to be more complex than I originally thought.
All help is appreciated!
JavaScript isn't going to help select your choices. Here is the easiest approach...
Before your Loop & Merge block set up an MC question with your 8,000 choices, then use Advanced Randomization to randomly insert a subset of 1 from the 8,000 choices, and check the "Evenly Present Elements" box. Use JavaScript to hide the MC question. If it is on the same page as another question, you can hide it with one line of JavaScript since you won't need to automatically click the Next button:
$(this.questionId).hide();
Set up your Loop & Merge block to loop based on the displayed options in the hidden MC question.
While creating data source in Tableau I want to choose 20 fields out of 100 fields from the table? How to select only 20 fields from the table?
Hide fields you don't want to use. That is the most efficient approach. Tableau will then leave those fields out of the select clause in any queries and exclude those fields from any extracts.
Here is one way to hide fields.
Connect to the data source and stay in the data connection pane
Switch to list view to see the fields listed one per row (for convenience) by clicking the icon to the left of the sort fields switch
Select the fields you don't wish to use, multiple selection is useful here
Right click or use the caret menu (little black triangle) to hide those fields
P.S. Tableau will always leave fields out of the select statement that you don't reference (i.e. don't put on a shelf). So if you are using a live connection instead of an extract, hiding fields can help reduce the number of fields you have to look at on the data pane, but isn't necessary to improve performance. For extracts, hiding fields can reduce the size of the extract and the time to refresh it.
You might think could help performance by writing custom SQL to only request a subset of the columns, but you would most likely be hurting performance instead by defeating the query optimization that Tableau performs.
This probably has a simple answer, but I've been looking all over and can't find anything to suit my needs.
I've been using gridviews to display data, but new customer requirements call for the user to be able to select individual columns, rows, or cells. Does anyone know of a good option?
Thanks.
EDIT:
Essentially, I'm displaying several rows of data, each row comprised of multiple columns. With standard gridviews you can't really select all the data in one column without selecting data from the other columns. I need a way for the user to select one column worth of data so that they can copy the data out.
If you're looking for commercial solution, check out Infragistics NetAdvantage for ASP.NET. Example of grid in action: http://www.infragistics.com/products/aspnet/sample/data-grid/selection-client-events
One of the reports I am creating has dynamic number of columns - a datatable gets returned from the stored procedure, the number of columns depend on the number of items defined in the database (one column for each item, other than some fixed columns).
Is it possible for me to use RDLC report to generate a report in this case? All the calculations are already done int he report, I am looking at RDLC only for the sake of export to excel/pdf and repeating header/footer.
It is possible, but there is no simple solution. Here is a link to a former answer of mine on this topic.
An additional investigation later
Here is an article describing the mentioned report generation with a self generated RDL object model in detail.
From the sounds of it, you want your report to pivot defined items, which can change with respect to various report criteria. If you know all the columns that COULD come back, you could just define your RDL to bind them all but hide the ones that aren't item defined. You would just have to bind the Visible property of the column to a determination of whether the has been defined.
For your Problem,
I guess you can go for matrix instead of tables.
where you can generate rows and columns dynamically according to the data you are getting.
Check here for using of matrix
Use matrix in RDLC whenever your columns are not fixed in datatable.
Visit http://www.gotreportviewer.com/matrices/
Here you'll find use of both table and matrix in RDLC. See yourself which one suits for your requirement.