Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Listbox and Table chart

Hi

I have 3 tables- 2 dimension(SG and Seg) and 1 fact table(fact).

'SG' and 'Seg' tables are related to each other via the column(SegmentGroupName) and 'Seg' and 'Fact' are related to each other via column (PrescriberId).

Now there's a listbox with values from the column SegmentGroupName of 'SG' table.

Now I want a table chart with the dimension corresponding to my selection in the listbox and the expression as Sum(TRx).-- TRx is a column in Fact table.

When i should select any value from the SegmentGroupName listbox (which is a column from 'SG' table )corresponding segments(column SegmentDisplayName) from the 'Seg' table should be displayed in the tablechart.

Is there a way to achieve this?

Also please do not post .qvw files as I have a personal edition.

Table Structures-

Table Name- Columns

SG- SegmentGroupName

Seg- SegmentGroupName, SegmentDisplayName, PrescriberId

Fact- PrescriberId, TRx.

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with SegmentDisplayName as dimension and sum(Trx) as expression. When you select a value in the SegmentGroupName listbox the straight table will show the SegmentDisplayName values for the selected SegmentGroupName


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with SegmentDisplayName as dimension and sum(Trx) as expression. When you select a value in the SegmentGroupName listbox the straight table will show the SegmentDisplayName values for the selected SegmentGroupName


talk is cheap, supply exceeds demand