qlikview

Check SQL in QlikView

痞子三分冷 提交于 2019-12-25 02:29:37
问题 Is it possible to see the SQL QlikView generates when accessing the data in a database? (Something like in BusinessObjects "Show Script" option). If yes, where can I find it? 回答1: In the QVW file where the SQL exists, go to the document properties: Settings -> Document Properties -> General - check the 'Generate Logfile' checkbox. On the next reload, a log file will now be created in the same folder as the QVW with a .log extension. So if your QVW is called abc.qvw, there will be a log file

VB Excel PasteSpecial requiring clipboard content?

余生颓废 提交于 2019-12-24 15:12:07
问题 I'm having a problem with VB PasteSpecial. This code works perfectly in Excel VB (given that you have selected cells with data) Selection.Copy Range("A1").Select Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True Application.CutCopyMode = False However, I'm using a third-party software (QlikView) that I extract the data from, which is then supposed to be copied into the Excel document. There is no problem with the normal paste but it MUST be

TOTAL vs Aggr in Qlikview

北战南征 提交于 2019-12-24 04:15:11
问题 I'm trying to understand how TOTAL and Aggr work in qlikview. Could someone please explain the difference between the two examples below, and if possible please illustrate with a sql query? Code: Example1: Max({<Field1=>} Aggr(Sum({<Field2={'Value'}, Field1=>} StuffCount), Field1)) Example2: Max({<Field1=>} TOTAL Aggr(Sum({<Field2={'Value'}, Field1=>} StuffCount), Field1)) 回答1: Not sure what you mean with and SQL query in this example. Anyway, imagine you have this list of Customers

Qlikview no data generated

房东的猫 提交于 2019-12-14 03:06:55
问题 I have a fact table that left join v_gate_pm_trip with v_fate_pm_trip_cntr. I was able to generate the qvd by by the month name of the date (arrive)dt) howerver, when it load * from resident fact, no data is being fetch for all month. FACT: LOAD "TRIP_ID", "PM_M", "ARRIVE_DT", MonthName("ARRIVE_DT") as MONTH_NAME, //find out the monthname present in the data SQL SELECT * FROM EODWADMIN."V_GATE_PM_TRIP"; LEFT JOIN LOAD "TRIP_ID", "CREATE_DT", "MODIFIED_DT"; SQL SELECT * FROM EODWADMIN."V_GATE

QlikView Management API erroring when including distribute

泪湿孤枕 提交于 2019-12-13 21:28:33
问题 Hi I have created a task using the QMS API and have had success populating all general, reload, and reduce tabs but I am now having trouble when working with the distribute category. I'm trying to "Distribute to QlikView Server " and add a view users to distribute to. Except whenever I include distribute in the DocumentTaskScope (DocumentTaskScope.Distribute), the task seems to lose reference to the SourceDocument and the reduce category gets wiped, along with options from general and reload

Alternatives to macros for accessing data objects

馋奶兔 提交于 2019-12-13 04:33:43
问题 I'm about to begin implementing a new version of an Email marketing program for my company. The old version of the program program heavily depended on micros and has about 2000 lines to prepare data for an email campaign to be run. But I have read somewhere that macros are not the best solution to run such heavy tasks and it's better we keep them for simple things. I'm quite new to QV and I'm the kind of person that likes to learn as I go and not complete a big reference book before I start a

Qlikview - Populating missing dates and peek previous date values for a given ID

早过忘川 提交于 2019-12-13 03:41:05
问题 ` Current Dataset- Has dates, ID and Values Date | ID | Value -------------------- 2/4/17 | 3 | 4.4 2/4/17 | 9 | 6.2 2/9/17 | 3 | 4.7 2/9/17 | 4 | 7.4 2/9/17 | 9 | 9.4 2/11/17 | 3 | 9.7 2/11/17 | 7 | 12.4 `Expected result - I want to populate missing dates and peek each ID and their value until the next Date. Expected Result Date | ID | Value -------------------- 2/4/17 | 3 | 4.4 2/4/17 | 9 | 6.2 2/5/17 | 3 | 4.4 2/5/17 | 9 | 6.2 2/6/17 | 3 | 4.4 2/6/17 | 9 | 6.2 2/7/17 | 3 | 4.4 2/7/17 | 9 |

QlikView circular reference

二次信任 提交于 2019-12-13 02:05:00
问题 I have just started working on QlikView and facing difficulty in data-modelling. can anybody help me in resolving circular reference in the following model. Data-Model With Circular Reference Any help would be appreciated. 回答1: One solution could be to load the Cities table twice ( Cities and Cities2 ) and name the unique key CityId2 in Cities2 and in Branches . An other way could be to join the Cities into their refering tables while selecting the data from your database. 回答2: Left Join

Qlikview: tablebox or straight/pivot which would show minimum value and related value of the min value

冷暖自知 提交于 2019-12-12 02:31:42
问题 This is driving me nuts. Say I have a mass of lists with product names, their prices and the origins of the pricing: Product, 1$, USA Product, 2€, EU Product, 0.5€, HK What is the correct table configuration to get this result, without duplicating the record of the same product name?: Product 0.5€ HK That is to say the table calculates the minimum price and shows the correct origin for the minimum price? I either get all expanded pivot dupe products or the product origin is returned bogus.

How to apply market basket analysis / association rule in QlikView?

余生颓废 提交于 2019-12-12 01:43:42
问题 I want to use Association rule in Qlikview to find out the best product combination. But Im not technically strong in QlikView. Can anyone provide tutorials or can kindly teach me how to use the features in qlikview to performed the association rule.(Time slice is flexible if possible. ) And now currently , I'm trying with this tutorial for Market Basket analysis [ http://www.quickqlearqool.nl/?p=965 ] But it did not count the number of customer for the same purchase behaviour . (within 1