Monday, October 20, 2008

An Example is Worth a Thousand Thread Replies

There's a lot of information being exchanged on the QlikCommunity Forum http://www.QlikCommunity.com these days. Customers and Consultants ask technical questions, and other Customers, Consultants and QT employees provide very useful answers. Today's post is a tip on how to improve the chances of your Forum question being answered quickly and accurately.

Many back and forth replies to a forum thread are about clarifying the question. If possible, post a qvw file example with your question. (I can't, my file is too big! The data is private! Keep reading for ways to handle these concerns).

Reasons to post an example qvw:
  • An example will help clarify your question. The Forum is conducted in English, but English is a second language for many, if not most, of the Forum users. An example will provide additional understanding of your question.
  • More likely to get an accurate and complete response. Many questions require the responders to fiddle with expression or script syntax. If I have a qvw to work with, I'm more likely to test my answer before posting it, saving you the trouble of learning that I forgot a comma in my recommended solution.
  • Time. Most Forum members answer questions on a volunteer basis and their time is limited. For myself, I can only take the time to answer a limited number of questions. I'm more likely to pick the questions that are clear and provide the data I need. If I have to code up my own test data to work on the problem, I'm less likely to respond.

Some of the reasons you may be reluctant to post your qvw -- size and privacy.

The maximum attachment size allowed on the Forum is 1MB. You can make the example qvw smaller by using the QV Data Reduction feature.

  1. Make some selections to reduce the number of selected values in the qvw.
  2. From the menu bar, select File->Reduce Data ->Keep Possible Values.
  3. Use File->Save As to save the reduced copy under a new name.

    If you use "Save", QV will still open the "Save As" to help you remember not to overwrite the master copy.

You can protect the privacy of sensitive information, such as account numbers, revenue or customer names by using the QV Scrambling feature. In the menu bar, select Settings->Document Properties->Scrambling.

Here you can select a field to scramble and press the "Scramble" button to perform a random scrambling of the field . No one can determine it's original contents. Like values will scramble to the same value which maintains the value linkages.

In some cases, you may still be unable to post your qvw even with reduction and scrambling. Or it may make your example more clear to post the data inline with your question. In that case, post your example data in the question using comma delimited format, so it can easily be pasted to a LOAD INLINE. For example:

Accounts:
AccountNo, Name
1234, ABC Corp
4567, DEF Co

Transactions:
AccountNo, TranId, Amount
4567, 1, 2000

One last tip. Before you post, remember to search for existing answers to your question. In the past, search on the Forum was not so robust. But QT has recently added an embedded Google search feature. This is great! It supports the full range of Google search operators. Try it. The "Google Custom Search" link is available at the top of each Forum page.

Finally, don't forget to mark your question as "solved" when you've received a satisfactory answer.

Happy posting!

-Rob

2 comments:

Ed Bobrin said...

Thanks for posting...

Agree with everything. Now if we can the forum search engine to be a bit more granular we would be all set!

Ed Bobrin
Bardess Group, Ltd.
Former Customer and QlikView Partner

Jason Long said...

Ed (and Rob for that matter),

I've created a new section of the forum called "Questions from QlikTech," and the first question is in regard to the forum. I appreciate the feedback here, but please post your thoughts and ideas there as well, so I can have a large collection of customers' suggestions and sentiments to show to the "powers that be", and we'll get some things done!

Thanks again for your dedication to QlikView...we really appreciate it!

Kindly,

Jason Long
QlikTech, Inc.