<?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: Qlikview v11 vs v12 Pivot Table Conditional Formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27630#M458392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Offhand I can't explain the difference between V11 and V12 here.&amp;nbsp; But I would typically use Dimensionality() and SecondaryDimensionality() functions to detect total rows in a pivot table, not RowNo().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 17:36:29 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2018-03-14T17:36:29Z</dc:date>
    <item>
      <title>Qlikview v11 vs v12 Pivot Table Conditional Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27628#M458390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We just upgraded from Qlikview v11 to v12.20 and came across an issue. I need to learn what is happening, and why.&amp;nbsp; Also, what is the best way to fix it?&amp;nbsp; Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue: In QV 11, we had a pivot table with conditional formatting on the row and column totals, only.&amp;nbsp; I still have QV11 on my Desktop (we remote in to the servers to work/develop in v12).&amp;nbsp; The 1st screenshot is the v11 app (again, only row/column totals are conditionally formatted (using the query, below).)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV 12, something happens with the colunno().&amp;nbsp; The column number in one column can vary quite a bit.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the query used in the Exp2 background:&lt;/P&gt;&lt;P&gt;=if((rowno()=0 or isNull(rowno())or ColumnNo()=0 or isNull(ColumnNo()))&amp;nbsp; and &lt;/P&gt;&lt;P&gt;Sum(Exp2)/sum(Exp1)-1&amp;gt;.00,rgb(0,255,0),&lt;/P&gt;&lt;P&gt;if((rowno()=0 or isNull(rowno())or ColumnNo()=0 or isNull(ColumnNo()))&amp;nbsp; and &lt;/P&gt;&lt;P&gt;Sum(Exp2)/sum(Exp1)-1&amp;gt;-.1,rgb(255,255,0),&lt;/P&gt;&lt;P&gt;if((rowno()=0 or isNull(rowno())or ColumnNo()=0 or isNull(ColumnNo()))&amp;nbsp; and &lt;/P&gt;&lt;P&gt;Sum(Exp2)/sum(Exp1)-1&amp;lt;=-.1,rgb(255,80,80)&lt;/P&gt;&lt;P&gt;,if((rowno()=0 or isNull(rowno())or ColumnNo()=0 or isNull(ColumnNo())), rgb(0,255,0)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v11, Row and Column totals have custom formatting applied by the query shown above:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v11 SS.JPG" class="jive-image image-1" src="/legacyfs/online/196365_v11 SS.JPG" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v12, Same query as above, but the columnno() causes formatting to be applied everywhere.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v12 SS.JPG" class="jive-image image-2" src="/legacyfs/online/196366_v12 SS.JPG" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 16:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27628#M458390</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2018-03-14T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview v11 vs v12 Pivot Table Conditional Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27629#M458391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update.&amp;nbsp; 'Query' should be replaced with 'Expression' in my initial post.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also updated Exp2 to show the columnno() in v11 vs. v12.&amp;nbsp; Why does v12 interpret it differently? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v11:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v11 SS col.JPG" class="jive-image image-1" src="/legacyfs/online/196394_v11 SS col.JPG" style="height: 344px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v12:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v12 SS col.JPG" class="jive-image image-2" src="/legacyfs/online/196395_v12 SS col.JPG" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 17:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27629#M458391</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2018-03-14T17:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview v11 vs v12 Pivot Table Conditional Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27630#M458392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Offhand I can't explain the difference between V11 and V12 here.&amp;nbsp; But I would typically use Dimensionality() and SecondaryDimensionality() functions to detect total rows in a pivot table, not RowNo().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 17:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27630#M458392</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-03-14T17:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview v11 vs v12 Pivot Table Conditional Formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27631#M458393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Rob.&amp;nbsp; That did it.&amp;nbsp; I'll continue to search for an understanding of the v11 vs v12 columnno() differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this expression in v12 and it now has the formatting we need.&amp;nbsp; Again, thank you!&lt;/P&gt;&lt;P&gt;=if((Dimensionality()=0 or Dimensionality()=2 or SecondaryDimensionality()=0) and Sum(Exp2)/sum(Exp1)-1&amp;gt;.00,rgb(0,255,0),&lt;/P&gt;&lt;P&gt; if((Dimensionality()=0 or Dimensionality()=2 or SecondaryDimensionality()=0) and Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Exp2&lt;/SPAN&gt;)/sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Exp1&lt;/SPAN&gt;)-1&amp;gt;-.1,rgb(255,255,0),&lt;/P&gt;&lt;P&gt; if((Dimensionality()=0 or Dimensionality()=2 or SecondaryDimensionality()=0) and Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Exp2&lt;/SPAN&gt;)/sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Exp1&lt;/SPAN&gt;)-1&amp;lt;=-.1,rgb(255,80,80),&lt;/P&gt;&lt;P&gt; if((Dimensionality()=0 or Dimensionality()=2 or SecondaryDimensionality()=0), rgb(0,255,0)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v12 SS complete.JPG" class="jive-image image-1" src="/legacyfs/online/196399_v12 SS complete.JPG" style="height: 345px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-v11-vs-v12-Pivot-Table-Conditional-Formatting/m-p/27631#M458393</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2018-03-14T18:04:27Z</dc:date>
    </item>
  </channel>
</rss>

