<?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: Calculate difference between values from three columns in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4384#M434</link>
    <description>&lt;P&gt;Values 1, 9, 8&amp;nbsp; &amp;nbsp;What result do you expect?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;You've mentioned that ties are ignored, but what exactly is the algorithm you are trying to employ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 13:58:04 GMT</pubDate>
    <dc:creator>RADSr</dc:creator>
    <dc:date>2023-06-01T13:58:04Z</dc:date>
    <item>
      <title>Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4366#M424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to calculate the difference amongst values present in three columns.&lt;/P&gt;&lt;P&gt;It needs to look something like this:&lt;/P&gt;&lt;TABLE width="667"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="177"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="145"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="214"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="131"&gt;&lt;STRONG&gt;Difference&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Can someone guide me to formula or function that can help me acheive this result ?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 04:59:14 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4366#M424</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2023-05-31T04:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4368#M426</link>
      <description>&lt;P&gt;what are the conditions of "differences" ?&amp;nbsp; eg 10 = 10 = 10&amp;nbsp; is 0 , but why in row 3 when you got 10 0 0 the difference is 10 instead of 20 ? maybe You can provide more examples.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:11:24 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4368#M426</guid>
      <dc:creator>Random_1191</dc:creator>
      <dc:date>2023-05-31T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4374#M429</link>
      <description>&lt;P&gt;the calculation goes like this:&lt;/P&gt;&lt;P&gt;row 1 :&amp;nbsp; 10 - 10 - 10 (all the three are same) = 0&lt;/P&gt;&lt;P&gt;row 3 : 10 - 0 - 0 (10 is the remaining value) =&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;row 4: 10 - 9 (since two values are same i.e 10, it needs to take the difference from the value that is different)&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 11:05:57 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4374#M429</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2023-05-31T11:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4376#M431</link>
      <description>&lt;P&gt;You want to subtract distinct values where the distinct values are ordered desc&amp;nbsp; &amp;nbsp;?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Offhand I'm thinking "Incorta over Incorta" ( i.e. use a result set as your insight data source ) where you get your three values and order them accordingly.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 14:18:07 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4376#M431</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-05-31T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4382#M432</link>
      <description>&lt;P&gt;Hi RADSr,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The order need not be asending or descending in this case, because we're trying to determine if the values match in all three columns, if it does not, it needs to show by how much are the values different.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 04:59:19 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4382#M432</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2023-06-01T04:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4383#M433</link>
      <description>&lt;P&gt;If I understood the case correctly, you need the following:&lt;/P&gt;
&lt;P&gt;max(abs(A-B), abs(B-C), abs(A-C))&lt;/P&gt;
&lt;P&gt;the maximum of the absolute difference between any 2 columns, right?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 06:22:55 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4383#M433</guid>
      <dc:creator>Prince</dc:creator>
      <dc:date>2023-06-01T06:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4384#M434</link>
      <description>&lt;P&gt;Values 1, 9, 8&amp;nbsp; &amp;nbsp;What result do you expect?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;You've mentioned that ties are ignored, but what exactly is the algorithm you are trying to employ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:58:04 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4384#M434</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-06-01T13:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between values from three columns</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4391#M437</link>
      <description>&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;Thank you for your understanding of the case aptly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used a nested max() because individual max() gives an error that it accepts only 2 parameters, something like this:&lt;/P&gt;&lt;P&gt;max( abs(A-B),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abs(B-C), abs(A-C)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Appreciate your prompt response and support !&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 05:12:30 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-difference-between-values-from-three-columns/m-p/4391#M437</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2023-06-02T05:12:30Z</dc:date>
    </item>
  </channel>
</rss>

