Show records in horizontal in Qlikview only one column - qlikview

I'm loading the info from Oracle:
The problem is that I have a table that contains years but when I create the listbox, it shows the info in this way:
Year
----
2011
2012
2013
I need that information like this:
Year
----
2011 | 2012 | 2013 | 2014
I think that is only a configuration of the listbox or I have to use another element.

In QlikView:
right click on the listbox and select Properties
navigate to the Presentation tab
Uncheck Single Column
Close the properties form
start resizing your listbox until is one row (consider the object width)
Optional:
Fixed Number of Columns can be specified as well
Result
In Qlik Sense:
I dont think this is possible by default. But there are number of extensions that are addressing this on Qlik Branch
One example being q2g-ext-listbox

Related

How do you create a sheet for more than 1 data set to compare results in Tableau?

I have 2 data sets within the one file in Tableau, one from the 2020 Olympics game and the 2016 olympics game, what i'm trying to do is compare the data from the two years based on the total medals received by each country and possibly have it visualized within a pie chart or bar chart.
The problem is, as you can see I added one without any issues displaying what I want but if I try to add the same data from the 2022 Olympics(Team/NOC and Total), it messes the data up and both becomes unreadable.
Is there any way to display both types of data in Tableau within the same sheet?
Actually can't see from this view that there has been any messing with the data or sources.
Though I did mention on your other post that as the two sets have the same structure, you could just union them (which would also be bet in a db too)
Steve

Input controls overriding hidden table formula

I have a report I'm working on, where I have a series of tables attached to each other representing 18 months of our business year. Each table is being hidden if an input control of Months does not have the particular months listed, so only the most currently relevant months can be shown at a time.
The Month variable data isn't linked to any of the underlying data in any way.
I have another detail variable used as an input control, which represents staff associated with the row object. They're defined in a separate Excel document and merged with a dimension.
Using the Months input control by itself is great, as it hides the tables, but any time I use the other input control to filter rows by staff, every single table becomes visible again.
Each table, starting from April and extending into September of the next year has a similar formula, so I can select one or many of them. I tried using a date variable actually tied on the data, but it was breaking the cumulative nature of the data.
The formula used to hide the table:
=Pos(ReportFilter([Variables].[Months]); "01 - April Early Engagement") = 0
What would be causing this? How can I prevent this behavior?
Setup
I created a report based on your specifications:
2 data providers: 1 dummy with just the months, 1 with actual data (in my case a set of dates and amounts
One input control based on the dummy data providers with the months
Another input control based on an object from the other data provider (in my case based on the year of the date object)
3 tables, each with a formula to conditionally hide them based on the dummy months
Remarks
Both input controls have their dependency set on the report, not the
individual tables.
The formula to hide the tables is: =Pos(ReportFilter([Col1]); "Apr") = 0 Or Length(ReportFilter([Col1])) = 0
Proof
April and August, only 2014
April and August, only 2015
April and December, only 2015

MS Access Form Combobox selection as variable to be used in a query [duplicate]

Pretty simple explanation. I have a table with 10 entries, 5 entries with the year 2010 and 5 entries with 2011 in a column.
In the query I have, I use Like *2010 to filter out all entries equal 2010 and display onl those records.
On my form, I have combobox being populated with each unique year (from a different table). So my combobox values are 2010 and 2011.
Is it possible, when I select say 2011, I trim the right 4 characters and use as my Like criteria to refresh and requery the form, all done within VBA?
You can refer to the value of a control in a query run from within an Access session, as long as the form which contains that control is open.
SELECT *
FROM YourTable
WHERE date_field_as_text Like "*" & Forms!YourForm!YourCombo;
So perhaps you can use a similar query as your form's record source, and do Me.Requery in the combo box's after update event.
If that's not close enough to what you want, please give us more information about the data types of the fields involved. Adding brief samples of the table data to your question could also help; please make it clear whether the "date" fields are text or Date/Time.
Yes, it's possible.Just add your stuff to the 'YourComboName.After_Update'.
Look for the Events of the Form that are fired before the form is shown. There build your query as like HansUp suggested.

Access - Multiple Records in a Form

I'll create an fictitious example to explain what I am trying to accomplish.
Let's say I have these tables as fields:
Reports
idReport
date
FieldsList
idField
nameField
FieldsValues
idReport
idField
value
So, this works like this:
One report has many fields. Each field has an value.
Here are some sample data:
Reports
idReport | date
1 | 04/04/14
2 | 10/06/14
FieldsList
idField | nameField
1 | serialNumber
2 | manufacturer
3 | model
FieldsValues
idReport | idField | value
1 | 1 | FSI83618A
1 | 2 | Apple
1 | 3 | A1457
What I want to do is an form where the user select an Report and I'll show every row in the FieldValues table for that report, this way:
FieldsList.nameFiled: FieldsValues.value
Is that clear?
I found a way to do this using Datasheet form, or continuous form, but that is not what I really want.
I want to be able do "design" the screen, put every field where I want, the way I want.
If I use datasheet, it just makes an table and I can't change it.
Anyone have any idea?
Thank you!
Well, IMHO you can solve this in 2 different ways, it's just a matter of "taste" what suit's you more as GUI
Form with subform
Form contains the reports and subform contains values/fieldnames (you have to combine the 2 tables in a query), make the subform depending on the key in main form
make an unbound form, place 2 listboxes
Listbox on the left shows the reports, listbox on the right shows values/fieldnames (same query as above) per Report. When selecting the report, you fire the "after update" event to filter the listbox at the right
This solution needs a bit of coding
Continuous form is the right solution: You can choose where you want to put the field title and where to put the field value.
Of course, if you want different fields at different locations, i.e. if you want the positions to depend on the data, then I'm afraid that you have chosen the wrong table design. Access is not designed for this. If you want that, Access expects the table to be laid out like this:
Reports
idReport
date
serialNumber
manufacturer
model
If you have an existing legacy data structure that you cannot change, you can create a query that will transform your data into that format. Note, however, that you won't be able to change data in the form if you base it on such a query, which is fine if you only want to display it, but won't solve your problem if you want to edit it.
If you need to be able to edit such data, you will have to do the work yourself: Create an unbound form and manually perform the INSERTs/UPDATEs/DELETEs in code. The problem is that Access expects an edit in a field to be an UPDATE. However, in your case, an edit could be an INSERT (if no FieldValues row existed before) or a DELETE. Thus, the built-in tools won't do much good.
I think I was using the wrong tool to do what I want.
Since I just want to display informations, I managed to do what I want using reports.
So I created an Form and a report based on a consultation (I'm sorry, I don't know how it's called in english office. I use my office in portuguese).
In this form I choose the report number. When I click a button, I "requery" the report window that is embed in this form.
In this report window I have some freedom to work with the design.
The listed fields are still just like a list, but it's much better than that datasheet layout.
Thank you for your help.

Displaying column names at the top in MDX like in SQL

Is it possible to display the column name on top in MDX query.
Below is the Result of my MDX query. I want to display the Year column name at the top (Marked in Red)
blank amount(Measure)
ALL 1000
2010 500
2011 500
In above blank section, I want to display the attribute name of the dimension i.e. YEAR.
Thanks in advance
This information is available in the result that is coming back as answer to the MDX query, no matter if you get it back in multidimensional or in tabular form.
But what is displayed is totally dependent on the tool displaying the data.