<?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>Level of Detail on Bitfern</title>
    <link>/tags/level-of-detail/</link>
    <description>Recent content in Level of Detail on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Fri, 31 Jan 2025 11:05:24 +0000</lastBuildDate>
    <atom:link href="/tags/level-of-detail/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LOD equivalent of INDEX and RANK (part 2)</title>
      <link>/blog/lod-equivalent-of-index-2/</link>
      <pubDate>Fri, 31 Jan 2025 11:05:24 +0000</pubDate>
      <guid>/blog/lod-equivalent-of-index-2/</guid>
      <description>&lt;p&gt;In my last blog post I looked at a &lt;a href=&#34;/blog/lod-equivalent-of-index/&#34; title=&#34;LOD equivalent of INDEX&#34;&gt;LOD equivalent of RANK / INDEX table calculations in Tableau&lt;/a&gt;. That approach was limited to ranking a very small range of whole numbers, and left me considering other options. This post outlines another LOD approach using spatial functions**!**&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WARNING:&lt;/strong&gt; As before I will stress that you should rarely need a LOD-based equivalent of rank or index, and can often use table calculations when you don’t think that you can. That said, there are scenarios where a LOD equivalent can be useful: onward use of the calc or use in spatial functions being the cases I’ve seen on the Tableau community forums. And it’s also a fun challenge!&lt;/p&gt;</description>
    </item>
    <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>
