<?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>LOD on Bitfern</title>
    <link>/tags/lod/</link>
    <description>Recent content in LOD on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Fri, 31 Jan 2025 11:05:24 +0000</lastBuildDate>
    <atom:link href="/tags/lod/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>LOD equivalent of INDEX</title>
      <link>/blog/lod-equivalent-of-index/</link>
      <pubDate>Fri, 20 Dec 2024 10:47:50 +0000</pubDate>
      <guid>/blog/lod-equivalent-of-index/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Is there a level of detail expression equivalent of a particular table calculation in Tableau?&lt;/strong&gt; This question comes up on the Tableau community forums every now and then, and almost always intrigues me.&lt;/p&gt;
&lt;p&gt;Often a level of detail (LOD) expression isn’t really necesary, but &lt;a href=&#34;https://community.tableau.com/s/question/0D58b0000BFVOrnCQH/simulate-indextable-calc-with-an-lod&#34;&gt;occaisionally an alternative to table calculations is necesary&lt;/a&gt;. And like a mountain to be climbed, or a trail to be explored, I’m fascinated by whether it is even possible to implement LOD equivalents to some common table calcs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>LOD equivilant of LOOKUP (part 2)</title>
      <link>/blog/lod-equivilant-of-lookup-part-2/</link>
      <pubDate>Sun, 15 Oct 2023 06:03:25 +0000</pubDate>
      <guid>/blog/lod-equivilant-of-lookup-part-2/</guid>
      <description>&lt;p&gt;In a &lt;a href=&#34;/blog/lod-equivalent-of-lookup/&#34; title=&#34;LOD equivalent of LOOKUP&#34;&gt;previous post&lt;/a&gt; I walked through a LOD (level of detail) based alternative to the LOOKUP table calculation. In that example I was looking at sales last month, and in a recent Tableau Forums question someone was asking if it could be extended to determine average sales from the previous three months.&lt;/p&gt;
&lt;p&gt;The answer was “yes” and you can check the whole &lt;a href=&#34;https://community.tableau.com/s/question/0D58b0000BgLogQCQS/hi-i-am-looking-for-a-calculation-that-could-return-me-the-average-of-the-last-3-months-sales-for-the-current-monthalso-i-do-not-want-to-achieve-this-with-a-moving-calculationtable-calculation&#34;&gt;thread on the Forums&lt;/a&gt;, including other options. The main difference from my previous post is that we needed to extend the group numbers from two to four, so that any given month falls into 4 “higher level groups” that we can target with a LOD. We then chose which LOD to use based on the index (_i).&lt;/p&gt;</description>
    </item>
    <item>
      <title>LOD equivalent of LOOKUP</title>
      <link>/blog/lod-equivalent-of-lookup/</link>
      <pubDate>Sat, 23 Jul 2022 12:35:50 +0000</pubDate>
      <guid>/blog/lod-equivalent-of-lookup/</guid>
      <description>&lt;p&gt;The LOOKUP table calculation in Tableau is really handy when you want to show or use a value from a previous row in the view. For example if you are showing sales per month and need to use the sales figure from the previous month to calculate month-on-month growth.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Sales and sales previous month&#34; loading=&#34;lazy&#34; src=&#34;/assets/2022/07/LOD-LOOKUP-01.png&#34;&gt;&lt;br&gt;
&lt;!-- raw HTML omitted --&gt;&lt;br&gt;
In the example above our calculation for “Sales last period” is:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
