<?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: lookup formula/grouping in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/lookup-formula-grouping/m-p/5767#M687</link>
    <description>&lt;P&gt;The lookup function is for looking up another lookup table using the key.&lt;/P&gt;
&lt;P&gt;To get the value, we will need to aggregate across these two rows:&lt;/P&gt;
&lt;P&gt;if(distinct(schemaX.tableN.column3)&amp;gt;1, "V", max(schemaX.tableN.column3))&lt;/P&gt;
&lt;P&gt;To repeat the same value, we may need to use level based measure.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.incorta.com/6.0/concepts-level-based-measure" target="_blank"&gt;https://docs.incorta.com/6.0/concepts-level-based-measure&lt;/A&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;</description>
    <pubDate>Fri, 17 May 2024 07:21:14 GMT</pubDate>
    <dc:creator>dylanwan</dc:creator>
    <dc:date>2024-05-17T07:21:14Z</dc:date>
    <item>
      <title>lookup formula/grouping</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/lookup-formula-grouping/m-p/5751#M686</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tarashah76_1-1715841648322.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2622i5613BE613D230AA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tarashah76_1-1715841648322.png" alt="Tarashah76_1-1715841648322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three columns column 1 column 2 and column3. column1 is coming from a mv, column 2 is coming from a business schema and column3 is a look up formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have filtered on column1 and column2 as you can see the values are same for 2 rows for these two columns. Now I want to create a new column that if for column1 and column2 we are getting&amp;nbsp;column3 as "S" and "V" then final rows should be seen as "V", if all rows are only "S" then "S", and if all rows are only "V" then "V".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achieve this? I tried applying case on the lookup, but it is again giving row wise result and not grouped by column1 and column2&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 06:46:10 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/lookup-formula-grouping/m-p/5751#M686</guid>
      <dc:creator>Tarashah76</dc:creator>
      <dc:date>2024-05-16T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: lookup formula/grouping</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/lookup-formula-grouping/m-p/5767#M687</link>
      <description>&lt;P&gt;The lookup function is for looking up another lookup table using the key.&lt;/P&gt;
&lt;P&gt;To get the value, we will need to aggregate across these two rows:&lt;/P&gt;
&lt;P&gt;if(distinct(schemaX.tableN.column3)&amp;gt;1, "V", max(schemaX.tableN.column3))&lt;/P&gt;
&lt;P&gt;To repeat the same value, we may need to use level based measure.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.incorta.com/6.0/concepts-level-based-measure" target="_blank"&gt;https://docs.incorta.com/6.0/concepts-level-based-measure&lt;/A&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;</description>
      <pubDate>Fri, 17 May 2024 07:21:14 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/lookup-formula-grouping/m-p/5767#M687</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2024-05-17T07:21:14Z</dc:date>
    </item>
  </channel>
</rss>

