Color-coding cell in straight table

Standard

Was browsing some Qv blogs tonight and stumble upon Rob Wunderlich post about color coding Y/N expressions using visual cues and dual() (http://qlikviewnotes.blogspot.se/2014/04/performance-tip-using-dual-and-chart.html). I thought that visual cues was quite slow compare to using expression background so i thought that i should do some performance testing.

I created an app with around 4 millions rows and a straight table with 2 expressions, one simple sum() and one with a complex formula returning either Y or N.

The results

  • No color coding – calctime of 22.963
  • dual and visual cue – calctime of 23.213
  • same exp in background color expression – calctime of 28.923
  • reference using [expression label] – calctime of 29.609
  • reference using column(X) – calctime of 29.703

My conclusions

  • For Y/N and similar expressions – use dual() and visual cues
  • For more complex ones (returning a lot of different values) – doesn’t really matter which one to use

Connect to SAP CRM using Qv SQL Connector

Standard

There are some old posts on QlikCommunity on how to connect to SAP CRM db using Qv SAP SQL Connector.

The “ERP” connector works, you just have to point it to the CRM DB + install the same transports in CRM as in ERP.

Scripbuilder.qvw also works – a must have when trying to understand the SAP CRM db.