<?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: Russo's formula doesn't work in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3612001#M139636</link>
    <description>&lt;P&gt;Hi Valtteri,&lt;/P&gt;&lt;P&gt;I believe the reason you couldn't replicate the BLANK value for the troublesome formula because the relationship between &lt;STRONG&gt;'Calendar'&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;[Date]&lt;/STRONG&gt; and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;'Table (16)'&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;[Date2]&lt;/STRONG&gt;&amp;nbsp;was active.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I changed the relationship between &lt;STRONG&gt;'Date'[Date]&lt;/STRONG&gt; and '&lt;STRONG&gt;Sales'[Delivery Date]&lt;/STRONG&gt; from inactive to active, the troublesome formula would work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In conclusion, the BLANK value was caused by either a bug with PBI or wrong formula by Russo.&lt;/P&gt;&lt;P&gt;Once again, thanks for your contributions to my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 01:35:35 GMT</pubDate>
    <dc:creator>nemo</dc:creator>
    <dc:date>2024-01-03T01:35:35Z</dc:date>
    <item>
      <title>Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3600445#M139118</link>
      <description>&lt;P&gt;This is the formula in page 139 of the book &lt;STRONG&gt;The Definitive Guide to DAX&lt;/STRONG&gt; (first edition) by Marco Russo and Alberto Ferrari&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;However, it returned BLANK when tested with the &lt;A href="https://www.sqlbi.com/books/the-definitive-guide-to-dax-2nd-edition/companion/" target="_self"&gt;data&lt;/A&gt;!!!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Could someone please explain what error(s) had the authors made in that formula?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 02:50:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3600445#M139118</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2023-12-25T02:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3600794#M139132</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The formula seems to be correct. It filters Sales table to only include numbers from 2007 and then calculates sales over the filtered table so that Sales[quantity] is multiplied by Sales[unit Price]. Since the formlua is returning blank check the following things:&lt;BR /&gt;&lt;BR /&gt;1. Is there sales data for the year 2007&lt;BR /&gt;2. Is your [DeliveryDateKey] and [DateKey] formatted in the same way -&amp;gt; e.g. both should be Date or both should be Date/Time&lt;BR /&gt;3. Double check your relationships&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can easily check if the measure is working as expected by taking the FILTER portion of the dax and creating a calculated table using "New table" or placing the dax inside EVALUATE in the new section of Power BI:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 07:07:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3600794#M139132</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-12-25T07:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3601370#M139152</link>
      <description>&lt;P&gt;Hi Valtteri,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Followed your advice, I found that the authors made a typo: it should be 'Date'[Date] instead of 'Date'[DateKey].&lt;/P&gt;&lt;P&gt;Although the &lt;EM&gt;test&lt;/EM&gt; table (evaluated from the FILTER(CALCULATETABLE...) did return values, the measure Delivered Amount in 2007 was still blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was this a bug with Power BI?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 00:28:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3601370#M139152</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2023-12-26T00:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3602930#M139204</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Was there also data in your Test[Unit Price]? All in all, based on this test I would say the measure is correct and i suspect some other issue with your filter context is resulting in this blank value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 06:12:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3602930#M139204</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-12-27T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3606777#M139351</link>
      <description>&lt;P&gt;Hi Valtteri,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Test Table&amp;nbsp;&lt;/STRONG&gt;did return values for all columns for 2007 only. I was able to use that &lt;STRONG&gt;Test Table&lt;/STRONG&gt; to successfully create the &lt;STRONG&gt;Test Measure&lt;/STRONG&gt; (&lt;SPAN&gt;sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Test Table'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Test Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Unit Price]&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;'Test Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As shown in the screenshot below, there were no filters applied, but the formula in question still showed BLANK value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What other possible issues that caused this problem?&lt;/SPAN&gt;&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;</description>
      <pubDate>Fri, 29 Dec 2023 09:43:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3606777#M139351</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2023-12-29T09:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3606929#M139359</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;This is quite odd. If the test table is truly the same the dax you have in your FILTER condition there shouldn't be any further issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Generally speaking in these kind of situations I usually start by double cheking the data types for any missmatches. Check that all the columns participating in the formula have same data types. So e.g. Date in the case of 'Calendar'[Date] and whole number/decimal number in the case of 'Calendar'[Year].&lt;BR /&gt;&lt;BR /&gt;Additionally a general rule of thumb is that you should avoid using RELATED and USERELATIONSHIP functions. They commonly cause issues in calculations and performance.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Alternative way of doing what your DAX is trying to achieve would be e.g. this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Relationsships:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dax:&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt; &lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Price]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;Result:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SPAN&gt;&lt;BR /&gt;No need for FILTER etc. Since the tables are connected by adding the condition [Year]=2023&lt;BR /&gt;we get the values for that year.&lt;BR /&gt;&lt;BR /&gt;If we remove that part the result is 3000&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Dec 2023 10:43:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3606929#M139359</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-12-29T10:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3608636#M139464</link>
      <description>&lt;P&gt;Hi Valtteri,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked and can confirm that all the columns of the tables are of correct data types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Test Table&lt;/STRONG&gt; used the same FILTER expession as the troublesome formula (&lt;STRONG&gt;Delivered Amount in &lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;2007&lt;/STRONG&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as shown below&lt;/SPAN&gt;&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, I suspect what you called &lt;EM&gt;odd&lt;/EM&gt; is actually a bug in Power BI. Are you able to verify that by using the same troublesome formula with your data (&lt;STRONG&gt;Calendar&lt;/STRONG&gt; and &lt;STRONG&gt;Table 16&lt;/STRONG&gt;) to see whether you can replicate the same BLANK issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for a more elegant formula than the one authored by "the DAX gurus". Because your formula invokes the &lt;EM&gt;active&lt;/EM&gt; relationship between the tables Date and Sales, thus it returned the &lt;STRONG&gt;&lt;EM&gt;Ordered&lt;/EM&gt; Amount in 2007&lt;/STRONG&gt; instead of the &lt;STRONG&gt;&lt;EM&gt;Delivered&lt;/EM&gt; Amount in 2007&lt;/STRONG&gt;. I modified it with USERELATIONSHIP (from&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Valtteri Original&lt;/STRONG&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sales'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Sales'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;'Sales'&lt;/SPAN&gt;&lt;SPAN&gt;[Unit Price]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Calendar Year Number]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;2007 to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valtteri Modified&lt;/STRONG&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales Amount]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;[Delivery Date]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Calendar Year Number]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;2007&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and it returned the correct amount as shown below.&lt;/SPAN&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2023 00:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3608636#M139464</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2023-12-31T00:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3610429#M139560</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I wasn't able to re-create the blank values in my test file. Your modification with USERELATIONSHIP is correct that was the way I intended the new formula to be used.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;here I have 3 different ways and all return the same result:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt; &lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Price]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt; &lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Quantity]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Price]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Measure&lt;/SPAN&gt; &lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales logic]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (16)'&lt;/SPAN&gt;&lt;SPAN&gt;[Date2]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jan 2024 07:57:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3610429#M139560</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2024-01-02T07:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Russo's formula doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3612001#M139636</link>
      <description>&lt;P&gt;Hi Valtteri,&lt;/P&gt;&lt;P&gt;I believe the reason you couldn't replicate the BLANK value for the troublesome formula because the relationship between &lt;STRONG&gt;'Calendar'&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;[Date]&lt;/STRONG&gt; and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;'Table (16)'&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;[Date2]&lt;/STRONG&gt;&amp;nbsp;was active.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I changed the relationship between &lt;STRONG&gt;'Date'[Date]&lt;/STRONG&gt; and '&lt;STRONG&gt;Sales'[Delivery Date]&lt;/STRONG&gt; from inactive to active, the troublesome formula would work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In conclusion, the BLANK value was caused by either a bug with PBI or wrong formula by Russo.&lt;/P&gt;&lt;P&gt;Once again, thanks for your contributions to my question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 01:35:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Russo-s-formula-doesn-t-work/m-p/3612001#M139636</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2024-01-03T01:35:35Z</dc:date>
    </item>
  </channel>
</rss>

