<?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: Best practice for bucketing/banding data in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3620#M305</link>
    <description>&lt;P&gt;The solution I put in place for the moment is using an insight based on a result set.&amp;nbsp; &amp;nbsp;I'm not terribly pleased because 1) it's not simple for casual authors/explorers to build, 2) it's a bit buggy,* and 3) when I have more than one insight they are no longer connected via the same fields ( i.e. when I click a bucket in one insight the other is not automatically filtered ).&lt;/P&gt;&lt;P&gt;* - The moderate buggy bit is that when I click a value in the insight to filter it does, but when I click the filter to change the value there are no other values displayed.&amp;nbsp; I have to delete the filter "pill" and re-select.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very bad buggy part is that I've been getting errors where the insight seems to lose the reference to the result set and completely breaks.&amp;nbsp; &amp;nbsp;Unfortunately it has happened several times but is not purposely replicable ( at least so far ).&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I should log a ticket. No I haven't yet.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 05:26:06 GMT</pubDate>
    <dc:creator>RADSr</dc:creator>
    <dc:date>2023-01-20T05:26:06Z</dc:date>
    <item>
      <title>Best practice for bucketing/banding data</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3614#M299</link>
      <description>&lt;P&gt;I'd like to do an aggregated list e.g.&amp;nbsp; Client, Net Sales, No of Purchases, No of Returns and would then like to group this list by a user-defined bucket&amp;nbsp; e.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;CASE(AND(Net Sales &amp;gt; 1000000), No of Returns &amp;lt; 10), 'Great', 'not great' )&amp;nbsp;&lt;/P&gt;&lt;P&gt;But of course the above won't work because it will evaluate every source row and everything will be not great.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;What I &lt;EM&gt;&lt;STRONG&gt;really&lt;/STRONG&gt;&lt;/EM&gt; want is:&amp;nbsp;CASE(AND(sum(Net Sales &amp;gt; 1000000)), sum(No of Returns) &amp;lt; 10), 'Great', 'not great' )&lt;/P&gt;&lt;P&gt;but that nets me this error message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;sum currently not supported in this context. It is currently supported only in insight formulas.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Leaving aside the fact that I **AM** using this in an insight formula ( so thanks for that error-message-author )&amp;nbsp; can I accomplish this in an insight or do I need to create more MVs?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 17:57:08 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3614#M299</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-01-19T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for bucketing/banding data</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3620#M305</link>
      <description>&lt;P&gt;The solution I put in place for the moment is using an insight based on a result set.&amp;nbsp; &amp;nbsp;I'm not terribly pleased because 1) it's not simple for casual authors/explorers to build, 2) it's a bit buggy,* and 3) when I have more than one insight they are no longer connected via the same fields ( i.e. when I click a bucket in one insight the other is not automatically filtered ).&lt;/P&gt;&lt;P&gt;* - The moderate buggy bit is that when I click a value in the insight to filter it does, but when I click the filter to change the value there are no other values displayed.&amp;nbsp; I have to delete the filter "pill" and re-select.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very bad buggy part is that I've been getting errors where the insight seems to lose the reference to the result set and completely breaks.&amp;nbsp; &amp;nbsp;Unfortunately it has happened several times but is not purposely replicable ( at least so far ).&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I should log a ticket. No I haven't yet.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 05:26:06 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3620#M305</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-01-20T05:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for bucketing/banding data</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3622#M307</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/24"&gt;@RADSr&lt;/a&gt;&amp;nbsp; - we'll give one more thing a try to see if this solves it for you. This is a formula that you might be able to leverage but note it would have to be applied to an aggregated table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF(
	and(
		sum(
			Community_Data.Client_Banding.Net_Sales, 
			groupBy(
				Community_Data.Client_Banding.Client
			)
		) &amp;gt; 10000, 
		sum(
			Community_Data.Client_Banding.No_of_Returns, 
			groupBy(
				Community_Data.Client_Banding.Client
			)
		) &amp;lt; 10
	), 
	'Great', 
	'Not Great'
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 16:59:30 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/best-practice-for-bucketing-banding-data/m-p/3622#M307</guid>
      <dc:creator>JoeM</dc:creator>
      <dc:date>2023-01-20T16:59:30Z</dc:date>
    </item>
  </channel>
</rss>

