<?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>LOOKUP on Bitfern</title>
    <link>/tags/lookup/</link>
    <description>Recent content in LOOKUP on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Sun, 15 Oct 2023 06:03:25 +0000</lastBuildDate>
    <atom:link href="/tags/lookup/index.xml" rel="self" type="application/rss+xml" />
    <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>
