<?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: How to know the level (field) shown in a drill-down dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911979#M75170</link>
    <description>&lt;P&gt;Thank you, Or, but I think this is not valid for us.&lt;/P&gt;
&lt;P&gt;GetObjectDImension() is only valid at the chart row level, and we need to know out of row level: for aggregation at bar level and for information in the subtitle of the bar chart.&lt;/P&gt;
&lt;P&gt;Any other idea?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 15:11:50 GMT</pubDate>
    <dc:creator>dvilloldo</dc:creator>
    <dc:date>2022-03-30T15:11:50Z</dc:date>
    <item>
      <title>How to know the level (field) shown in a drill-down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911695#M75150</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;We are using a drill-down dimension (year - month - day - hour) in a bar chart and in a box plot chart.&lt;/P&gt;
&lt;P&gt;We want to know the level (field) of the drill-down dimension shown in any moment.&lt;/P&gt;
&lt;P&gt;The reason is because we need to calculate the average in any bar (aggregate by the shown level) and show a subtitle in the chart about the information the user can see. For example: "The data shown is from february 2021".&lt;/P&gt;
&lt;P&gt;We already tried using evaluation of any of the fields included in the drill-down dimension using GetSelectedCount(field) and IsNull(field), but this doesn't work right because the user can filter any dates and the drill-down level can change without having any of the fields in the drill-down dimension selected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help, please?&lt;/P&gt;
&lt;P&gt;Thank you and greetings from Spain.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 08:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911695#M75150</guid>
      <dc:creator>dvilloldo</dc:creator>
      <dc:date>2022-03-30T08:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to know the level (field) shown in a drill-down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911898#M75165</link>
      <description>&lt;P&gt;&lt;SPAN class="statement"&gt;Try using GetObjectDimension()&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911898#M75165</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-30T13:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to know the level (field) shown in a drill-down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911979#M75170</link>
      <description>&lt;P&gt;Thank you, Or, but I think this is not valid for us.&lt;/P&gt;
&lt;P&gt;GetObjectDImension() is only valid at the chart row level, and we need to know out of row level: for aggregation at bar level and for information in the subtitle of the bar chart.&lt;/P&gt;
&lt;P&gt;Any other idea?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 15:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1911979#M75170</guid>
      <dc:creator>dvilloldo</dc:creator>
      <dc:date>2022-03-30T15:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to know the level (field) shown in a drill-down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1912099#M75177</link>
      <description>&lt;P&gt;In that case, I don't know of any way to achieve this other than checking each level of the drill-down to see whether it contains a single value using e.g. NOT isnull(Only(Field)) or Count(distinct Field)=1. Unfortunately, Qlik Sense does not have QV's GetCurrentField() function.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 19:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-know-the-level-field-shown-in-a-drill-down-dimension/m-p/1912099#M75177</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-30T19:18:36Z</dc:date>
    </item>
  </channel>
</rss>

