<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pivot  table and Variables error locator? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527912#M747255</link>
    <description>&lt;P&gt;Just disable them one after another (maybe also in groups) and you will find which ones don't work.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 16:07:22 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-01-08T16:07:22Z</dc:date>
    <item>
      <title>Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527897#M747253</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a Pivot table that contains lot of vars as expressions and dimensions&lt;/P&gt;&lt;P&gt;there is a way to locate which var/s contain an error that cause to an empty chart to be shown?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527897#M747253</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527910#M747254</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, it is possible. Do as follows:&lt;/P&gt;&lt;P&gt;1. Go and enable one by one expression and see which causes the error.&lt;/P&gt;&lt;P&gt;2. Only when you've checked that go to the expression(s) that causes the error and after that check if any variable works outside the pivot chart in a KPI object or in a textbox.&lt;/P&gt;&lt;P&gt;3. Search if the expression gives values and if its correctly formed (might have problems in set analysis or in the syntax). It helps if you remove the label to see witch values comes to the set analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try and simplify and divide the problem in little parts to check where comes the error. Search deep on your Script, Variables, Dimensions and Measures. I'm sure you could find which causes the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527910#M747254</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2019-01-08T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527912#M747255</link>
      <description>&lt;P&gt;Just disable them one after another (maybe also in groups) and you will find which ones don't work.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 16:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1527912#M747255</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-08T16:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528202#M747256</link>
      <description>&lt;P&gt;Thank you but the problem is that i'm using a Pick(DimensionID,v1(A),v2(A),v3(B),v4(B)) as the expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;because i have a &lt;SPAN&gt;Dimension and SubDimension and the expression should pick the right var for each cell in the table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528202#M747256</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-09T09:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528211#M747257</link>
      <description>&lt;P&gt;You could add another expression like: = 1 to enforce that the table is shown but if there are a syntax-errors within one of your variables your origin expression will be probably display NULL for all but maybe the expression-label (if you left it empty) may give you a hint by hovering with the mouse which ones are causing the issue.&lt;/P&gt;&lt;P&gt;If this doesn't work you could try to comment some parts of your expression like:&lt;/P&gt;&lt;P&gt;Pick(DimensionID,v1(A),v2(A)&lt;STRONG&gt;) //&lt;/STRONG&gt; ,v3(B),v4(B))&lt;/P&gt;&lt;P&gt;Pick(DimensionID,v1(A), &lt;STRONG&gt;/*&lt;/STRONG&gt; v2(A),v3(B), &lt;STRONG&gt;*/&lt;/STRONG&gt; v4(B))&lt;/P&gt;&lt;P&gt;otherwise you will need to check each single variable.&lt;/P&gt;&lt;P&gt;Beside this I'm not sure if something like v1(A) returned always a valid expression - I use usually $(v1(A)) for it.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528211#M747257</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-09T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528213#M747258</link>
      <description>&lt;P&gt;Maybe just maybe the problem is that you use the variables as is. Try using this instead:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Pick(DimensionID,$(v1(A)),$(v2(A)),$(v3(B)),$(v4(B))).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, could you try and see in a text box if there is any value retrieved in each variable. Try in each variable like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. First Text Box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=v1(A)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Second Text Box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=$(v1(A))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See if anything gives you meaningful values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, what you want to acquire with the specific expression? What's your goal? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This could give us a hint on how the problem occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528213#M747258</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2019-01-09T09:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528393#M747259</link>
      <description>&lt;P&gt;When i check each one of them desperately in text box i see a result&lt;/P&gt;&lt;P&gt;but when i use them in one expression with pick function it's not showing the result in the pivot table&lt;/P&gt;&lt;P&gt;&amp;nbsp;The HeaderID field is the RowNo of the rows in the Pivot table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528393#M747259</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-09T13:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528410#M747260</link>
      <description>&lt;P&gt;Are you sure that your pick-approach itself is working, just check it with:&lt;/P&gt;&lt;P&gt;Pick(DimensionID, 1,2,3,4,....)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 14:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528410#M747260</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-09T14:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528429#M747261</link>
      <description>&lt;P&gt;I Know that it should work (I already saw it in a different model)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 14:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528429#M747261</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-09T14:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528447#M747262</link>
      <description>&lt;P&gt;It could only work if DimensionID is unique so that a only(DimensionID) will work - if not then use count(DimensionID) and/or concat(DimensionID, ',') to see what happens amd adjust it appropriate.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528447#M747262</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-09T15:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528455#M747263</link>
      <description>DimensionID = rowno() as DimensionID = as HeaderID (if you look on the photo that i shared)&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528455#M747263</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-09T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528460#M747264</link>
      <description>&lt;P&gt;What happens by:&lt;/P&gt;&lt;P&gt;Pick(rowno(), 1,2,3,4,....) respectively Pick(rowno(TOTAL), 1,2,3,4,....)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528460#M747264</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-09T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528467#M747265</link>
      <description>The rowno() is based on specific field in one table (i build an excel file that hold the following fields&lt;BR /&gt;Header , SubHeader, Measure , Calc&lt;BR /&gt;When&lt;BR /&gt;Header = Primary Dimension&lt;BR /&gt;SubHeader = Sub Dimension&lt;BR /&gt;Measure = Sub Expression - based on dimension tab&lt;BR /&gt;Calc = The unique Vars that i'm using in the $(Metric) var as Expression under Expression tab&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528467#M747265</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-09T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528480#M747266</link>
      <description>&lt;P&gt;I assume that your DimensionID isn't properly defined - it needs to be unique in regard to your 2 vertically and 2 horizontally dimensions. This means you might need a different table-structure for your approach.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528480#M747266</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-09T15:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528825#M747267</link>
      <description>I checked the loaded table and the "DimensionID" field is unique and equals to unique "Calc" field value so for my understanding it should match between the Pivot table's RowNo() and the Calc of the Var as i used in the vMetrics var</description>
      <pubDate>Thu, 10 Jan 2019 09:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528825#M747267</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-10T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528840#M747268</link>
      <description>&lt;P&gt;Then try my above suggestion again and apply:&lt;/P&gt;&lt;P&gt;only(DimensionID)&lt;BR /&gt;count(DimensionID)&lt;BR /&gt;concat(DimensionID, ',')&lt;/P&gt;&lt;P&gt;within your table. Which one returned which results?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528840#M747268</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-10T09:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528864#M747269</link>
      <description>&lt;P&gt;The results:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;only(DimensionID) - returns the rowno()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count(DimensionID) -&amp;nbsp;returns&amp;nbsp; 1 as value in each cell&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat(DimensionID, ',') -&amp;nbsp;returns the rowno() - the same as received&amp;nbsp; by only(DimensionID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 10:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528864#M747269</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-10T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot  table and Variables error locator?</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528882#M747270</link>
      <description>&lt;P&gt;Ok. This means that:&lt;/P&gt;&lt;P&gt;pick(&lt;SPAN&gt;only(DimensionID)&lt;/SPAN&gt;, 1,2,3,4,5)&lt;/P&gt;&lt;P&gt;should return a table with results and not just a blank table and further that your issue with the origin expression is caused by any invalid expression-variable and/or a mistake by placing the variables within the pick() which all together leads to a syntax-error for the whole expression. To find it I suggest to use my above mentioned commenting-approach within the expression.&lt;/P&gt;&lt;P&gt;Beside this you are trying to apply a quite large amount of different expressions. If each one is quite big you might hit any limitation in regard to the max. amount of chars within an expression. I never experienced such case but I could imagine that such things might happens. Further by larger datasets your approach might need some time to be calculated and/or hit RAM limitations for the object - but this should be clearly noticable.&lt;/P&gt;&lt;P&gt;Another thought goes to any comments within the variables which may not bother by using them as a single expression but by including them within other calculations they could cause problems, see: &lt;A href="https://community.qlik.com/t5/QlikView-Documents/Well-commented-variables-Be-careful/tac-p/1479615" target="_blank"&gt;Well-commented-variables-Be-careful&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 10:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-and-Variables-error-locator/m-p/1528882#M747270</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-10T10:56:05Z</dc:date>
    </item>
  </channel>
</rss>

