<?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: Format dimension Inline table script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2446639#M97711</link>
    <description>&lt;P&gt;It wasn't meant as a kind of a formatting else as an adjustment of the field-values and may look like:&lt;/P&gt;
&lt;P&gt;repeat(chr(160(), Level * 2) &amp;amp; MyDimensionField as DimensionAdjusted&lt;/P&gt;
&lt;P&gt;whereby Level is an extra field within your Excel as simplification to avoid n if-loop or pick(match()) queries against the rowno() to define the indent for each value.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 05:10:51 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-04-30T05:10:51Z</dc:date>
    <item>
      <title>Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444422#M97575</link>
      <description>&lt;P&gt;I have a QV report that I inherited.&amp;nbsp; It uses an Excel template to read in the left side row labels and the expressions for each cell. &amp;nbsp;Then there is an inline table&lt;/P&gt;
&lt;P&gt;This is the excel template-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brip51_0-1713970985888.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164620i5C6B81D8309A310C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Brip51_0-1713970985888.png" alt="Brip51_0-1713970985888.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then the inline table -&lt;/P&gt;
&lt;DIV&gt;LOAD&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; IF(Match(RowNo(), 1, 4, 6, 10, 15, 17, 20, 22, 26, 29, 31, 34), '&amp;lt;b&amp;gt;') AS _Formatting,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; RowNo() AS _Index,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Metric,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _ExpectedPVCashFlow,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression2,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression3,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression4,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression5,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression6,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression7,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression8,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression9,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression10,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _CSMLessLRC,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression11,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression12,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; _Expression13&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;FROM $(v_ExcelSource)ToaRe Tracking IFRS PAA.xlsx&lt;/DIV&gt;
&lt;DIV&gt;(ooxml, embedded labels, table is IFRSRD);&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then the table uses _metric as a dimension.&amp;nbsp; Here is the QV report&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brip51_1-1713971390270.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164621i935DD81D41FA07C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Brip51_1-1713971390270.png" alt="Brip51_1-1713971390270.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to format the row labels with indentation.&amp;nbsp; I can make them bold by including&lt;/P&gt;
&lt;P&gt;&amp;lt;b&amp;gt; in the _Format column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to indent particular rows like such –&lt;/P&gt;
&lt;TABLE width="559"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&lt;STRONG&gt;CHANGES IN THE STATEMENT OF PROFIT OR LOSS &amp;amp; OCI&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Modified Retrospective&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Fair Value&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;Other&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&lt;STRONG&gt;Insurance Revenue&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Incurred claims and other insurance service expenses&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Amortization of insurance acquisition cash flows&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Losses and reversal of losses on onerous contracts&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Adjustments to liabilities for incurred claims&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&lt;STRONG&gt;Insurance Service Expense&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Investment components&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="559"&gt;
&lt;P&gt;&lt;STRONG&gt;Insurance Service Result&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;I have tried to use the format column and &amp;amp;nbsp to insert spaces, but that did not work&lt;/P&gt;
&lt;P&gt;Is this possible to do ?&lt;/P&gt;
&lt;P&gt;Any thoughts on this would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444422#M97575</guid>
      <dc:creator>Brip51</dc:creator>
      <dc:date>2024-04-24T15:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444425#M97576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you try to add Chr(9), 9 is the ASCII code for "Horizontal tabulation" ? &lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444425#M97576</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-24T15:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444435#M97578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I just gave it a try and it did not work.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 15:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2444435#M97578</guid>
      <dc:creator>Brip51</dc:creator>
      <dc:date>2024-04-24T15:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2445314#M97636</link>
      <description>&lt;P&gt;AFAIK chr(9) isn't supported as content of a field-value and is replaced with a space of chr(32). Without specifying the system-variable verbatim leading spaces are removed during the load. An alternatively to chr(32) might be chr(160) or another space-chars.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2445314#M97636</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-26T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2446513#M97702</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp; I tried chr(160)&amp;nbsp; and that did not work either.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(Match(RowNo(), 1, 4, 6, 10, 15, 17, 20, 22, 26, 29, 30, 33), &lt;STRONG&gt;chr(160))&lt;/STRONG&gt; AS _Formatting,&lt;BR /&gt;RowNo() AS _Index,&lt;/P&gt;
&lt;P&gt;I tried with and without single quotes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen similar formatting (underlining, Italic... ) in the styling here -&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/VisualizationBundle/pl-pivot-chart.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Visualizations/VisualizationBundle/pl-pivot-chart.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I can get those to work.&amp;nbsp; I can use &amp;lt;center&amp;gt; and that will center the text.&lt;/P&gt;
&lt;P&gt;Still trying to work this out.&lt;/P&gt;
&lt;P&gt;Thanks again for the help,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 18:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2446513#M97702</guid>
      <dc:creator>Brip51</dc:creator>
      <dc:date>2024-04-29T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Format dimension Inline table script</title>
      <link>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2446639#M97711</link>
      <description>&lt;P&gt;It wasn't meant as a kind of a formatting else as an adjustment of the field-values and may look like:&lt;/P&gt;
&lt;P&gt;repeat(chr(160(), Level * 2) &amp;amp; MyDimensionField as DimensionAdjusted&lt;/P&gt;
&lt;P&gt;whereby Level is an extra field within your Excel as simplification to avoid n if-loop or pick(match()) queries against the rowno() to define the indent for each value.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Format-dimension-Inline-table-script/m-p/2446639#M97711</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-30T05:10:51Z</dc:date>
    </item>
  </channel>
</rss>

