Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
amber2000
Creator
Creator

Create a custom table

Dear Qlikview experts,

I would like to create a chart or table in a special kind of form and I don't know if it's even possible.

There are 4 fields and I wish to put it in a chart or table like this:

Vendor_Name Aisle_Desc1/10/20142/10/20143/10/20144/10/20146/10/2014
DANONEPBL_Zuivel10:30:0610:44:3911:49:408:43:0212:00:05
DANONEZuivel_Gekoeld10:30:0610:44:3911:49:408:43:0212:00:05
DELPEYRAT SAPBL_Traiteur-8:25:488:03:31-7:21:14
DELPEYRAT SAPBL_Traiteur10:56:339:20:129:37:57-7:16:31
DENDERLUXPBL_Vlees8:07:339:10:248:27:268:00:519:08:34
DENDERLUXPBL_Vlees8:07:339:10:248:27:268:00:51

9:08:34

If I use a pivottable I see only one field and I want to see Vendor_Name and Aisle_Desc next to each other.

To see the data in it's original state I'll add an qvw example.

Does anybody knows how to acomplish this please?

Kind regards,

Ambertje

6 Replies
Not applicable

If you change expression to sum() and select Always Fully expanded you will get this table.  Also see attached QVW

Amber200 Chart.png

Hope this helps, if not reply and I will follow up

amber2000
Creator
Creator
Author

Shawn,

Thank you so much for fixing this problem for me, it's working great

kind regards,

Ambertje

amber2000
Creator
Creator
Author

Shawn,

I discovered a little error when I present the data in this way.

1 vendor can have multiple Aisle_Desc and therefor multiple times.

I was checking if the data was correct and found inconsistency's:

This is the data

Vendor_NameAisle_DescRec_Start_DateRec_Start_Time
DELPEYRAT SAPBL_Traiteur2/10/20148:25:48
DELPEYRAT SAPBL_Zuivel2/10/20149:20:12
DELPEYRAT SAZuivel_Gekoeld2/10/20148:25:48
DELPEYRAT SAZuivel_Gekoeld2/10/2014

9:20:12

This is the result in the qvw:

Vendor_NameAisle_DescRec_Start_Date2/10/2014
DELPEYRAT SAPBL_Traiteur 8:25:48
DELPEYRAT SAPBL_Zuivel 9:20:12
DELPEYRAT SAZuivel_Gekoeld 17:46:00

You see that it's not correct.

I think it has to do with Sum expression.

So I look for other expressions but I can't get it wright, one example:

Sum(Aggr(min(Rec_Start_Time]),[Aisle_Desc], [Rec_Start_Date]))

If I leave Sum out the result isn't correct eather.

Can you help me rewrite the statement so it will show all times for each Aisle_Desc please?

Not applicable

Try this one.  I uses the dual function to assign a unique value to each record.

amber2000
Creator
Creator
Author

Hello Shawn,

I apologize for taking so much of your time for this issue.

So now I'm trying to implement this dual function into my script (I'll include an attach with an example of my script)

My script is getting so complex and I don't see where I must include the Dual function.

The initial example was very small but looking in the distance like the Script I'm using.

Could you please tell me where I should implement this in the new qvw?

Kind regards,

Ambertje

Not applicable

Hi !  I have a cat that looks like your profile pic:)

I modified your script, noted the change and added a new chart that I think will work.  not real clean and snazzy but let see if this gets the job done.