<?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: Lookup value within number range in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049434#M104975</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;One of ways to achieve this is to create a bonus range table like below.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pibx file, and please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I hope the below can provide some ideas on how to create a solution for your dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Bonus range CC =
MAXX (
    FILTER (
        BonusRange,
        Sales[Sales amount] &amp;gt; BonusRange[min]
            &amp;amp;&amp;amp; Sales[Sales amount] &amp;lt;= BonusRange[max]
    ),
    BonusRange[Bonus range]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2023 04:43:18 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2023-01-30T04:43:18Z</dc:date>
    <item>
      <title>Lookup value within number range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049418#M104974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to seek your help. I have 2 tables as per below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1 is the reference table with Bonus Range&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2 is the exact sales amount&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to insert a column in Table 2 to indicate the Bonus range. Appreciate it if there are any DAX formulas that could help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 04:25:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049418#M104974</guid>
      <dc:creator>Hong_HW</dc:creator>
      <dc:date>2023-01-30T04:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup value within number range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049434#M104975</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;One of ways to achieve this is to create a bonus range table like below.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pibx file, and please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I hope the below can provide some ideas on how to create a solution for your dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Bonus range CC =
MAXX (
    FILTER (
        BonusRange,
        Sales[Sales amount] &amp;gt; BonusRange[min]
            &amp;amp;&amp;amp; Sales[Sales amount] &amp;lt;= BonusRange[max]
    ),
    BonusRange[Bonus range]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 04:43:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049434#M104975</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-01-30T04:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup value within number range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049548#M104983</link>
      <description>&lt;P&gt;It helps, thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 06:16:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-number-range/m-p/3049548#M104983</guid>
      <dc:creator>Hong_HW</dc:creator>
      <dc:date>2023-01-30T06:16:45Z</dc:date>
    </item>
  </channel>
</rss>

