<?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: VAR / if error command? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2757439#M85304</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look at switch function.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/switch-function-dax" target="_self"&gt;https://docs.microsoft.com/en-us/dax/switch-function-dax&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;If you need detailed formula, please share some sample data and expected result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2022 07:40:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-09T07:40:54Z</dc:date>
    <item>
      <title>VAR / if error command?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2754413#M85091</link>
      <description>&lt;P&gt;Hello I m having a problem with advanced command. I want to assign cost price to component partlist "Prefix" column, but it needs to be searched on different filter name "FatherItemNo". downgraded subprocess.&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;The name of table is&amp;nbsp;StockBillMat_DAT , "FatherItemNo" is product number, "ChildItemNo" is a id number of component. "Prefix" is name of component. Within "ChildItemNo" there is a reference for subprocess, that is available in "FatherItemNo".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"320" is constant for main level of production,&lt;/P&gt;&lt;P&gt;"500" constant for subprocess of 320.&lt;/P&gt;&lt;P&gt;"510" constant for subprocess of 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly filter needs to search for equal number within "FatherItemNo" for main process, example "3209121100" . IF component wasn't found in "prefix" column, go to subprocess. Apply search from "ChildNumberNo" that is available in "FatherItemNo". If name in "Prefix" not found, go to another subprocess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know its hard to understand, but i can show it live on teams if someone decide to&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 06:36:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2754413#M85091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-08T06:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: VAR / if error command?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2757104#M85279</link>
      <description>&lt;P&gt;refresh&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 05:40:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2757104#M85279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-09T05:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: VAR / if error command?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2757439#M85304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look at switch function.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/switch-function-dax" target="_self"&gt;https://docs.microsoft.com/en-us/dax/switch-function-dax&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;If you need detailed formula, please share some sample data and expected result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 07:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/VAR-if-error-command/m-p/2757439#M85304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-09T07:40:54Z</dc:date>
    </item>
  </channel>
</rss>

