<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Table Calc on Bitfern</title>
    <link>/tags/table-calc/</link>
    <description>Recent content in Table Calc on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Sun, 03 Sep 2023 00:56:21 +0000</lastBuildDate>
    <atom:link href="/tags/table-calc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Top M within each top N of categories</title>
      <link>/blog/top-m-within-each-top-n-of-categories/</link>
      <pubDate>Sun, 03 Sep 2023 00:56:21 +0000</pubDate>
      <guid>/blog/top-m-within-each-top-n-of-categories/</guid>
      <description>&lt;p&gt;I recently helped with a Tableau community forums question where the user needed to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;filter to the top N categories based on a measure,&lt;/li&gt;
&lt;li&gt;using a dense rank (so that categories with the same value had the same rank),&lt;/li&gt;
&lt;li&gt;but list no more than M categories within each rank (based on another criteria)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This screenshot illustrates the requirement where we want to see the top 5 categories based on sales, where categories with the same sales have the same rank. &lt;em&gt;But&lt;/em&gt; we only want to see the top 2 within each rank, based on lowest cost:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
