<?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: percentage using values from two different tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4252002#M168382</link>
    <description>&lt;P&gt;Hi&amp;nbsp;lbendlin&amp;nbsp;,thanks for the quick reply, I'll add more.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="114993" data-lia-user-login="rachaelwalker" class="lia-mention lia-mention-user"&gt;rachaelwalker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;I am also looking for the same percentage but only calcuate the last 90 days based on date entered while ignoring any other filter visuals that may be applied. &lt;/LI-CODE&gt;
&lt;P&gt;Your requirement is to calculate data with a warranty effective date within 90 days right? Suppose today is 10/22/2024,90 days before the date is 7/24/2024.The filter condition is 'Project Warranty Start' &amp;gt;= 7/24/2024 , 'Date Entered' &amp;gt;= 7/24/2024.If I understand it incorrectly Please correct me.&lt;/P&gt;
&lt;P&gt;Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _a = CALCULATE(DISTINCTCOUNT('Table'[Project Number]),'Table'[Date Entered] &amp;gt;= TODAY() - 90 &amp;amp;&amp;amp; 'Table'[StartDate] &amp;gt;= TODAY() - 90 )
VAR _b = COUNTROWS(FILTER('Projects',[Project Warranty Start] &amp;gt;= TODAY() - 90))
RETURN DIVIDE(_a,_b)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 06:31:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-22T06:31:41Z</dc:date>
    <item>
      <title>percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4246885#M168133</link>
      <description>&lt;P&gt;I have two tables Projects and Warranty Tickets. I need to calculate the percentage of projects that have had a warranty ticket opened against it. In some cases, there are multiple tickets but I dont want that to impact the the percentage. For the example below, I would expect to see 15 projects have had tickets out of the 101 total = 14.9%. I am also looking for the same percentage but only calcuate the last 90 days based on date entered while ignoring any other filter visuals that may be applied.&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4246885#M168133</guid>
      <dc:creator>rachaelwalker</dc:creator>
      <dc:date>2024-10-17T15:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4247271#M168162</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 21:05:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4247271#M168162</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-17T21:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4248692#M168220</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;thank you for the tips. here is a pbix file with sample data:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1_ZphAFTa0eAJgpajmEk4D2jDBLPB7HSm/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1_ZphAFTa0eAJgpajmEk4D2jDBLPB7HSm/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 17:43:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4248692#M168220</guid>
      <dc:creator>rachaelwalker</dc:creator>
      <dc:date>2024-10-18T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4248878#M168234</link>
      <description>&lt;P&gt;What does it mean when tickets are entered before the warranty start date?&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;Why do some projects not have a warranty start date?&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;
&lt;LI-CODE lang="markup"&gt;I am also looking for the same percentage but only calcuate the last 90 days based on date entered&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;100% by definition.&amp;nbsp; Unless you mean "last 90 days based on warranty start date"?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 22:42:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4248878#M168234</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-18T22:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4250848#M168306</link>
      <description>&lt;P&gt;The project may consist of several phases. The warranty date is defined at the final phase, marking the date when official completion of the project. Alternatively, it may arise if the project manager deviates from processes. Very frustrating I know. I told them that I will provide the data/metrics, along with an explanation of how it's calculated, so they can assess whether a process change is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no warranty date, the project is not yet under warranty, and no tickets should be submitted against it. I included the entire dataset in case I need to apply a filter to the formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for asking these questions to better understand the data. I appreciate your help and expertise!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:21:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4250848#M168306</guid>
      <dc:creator>rachaelwalker</dc:creator>
      <dc:date>2024-10-21T13:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4250853#M168307</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;forgot to tag&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4250853#M168307</guid>
      <dc:creator>rachaelwalker</dc:creator>
      <dc:date>2024-10-21T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4252002#M168382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;lbendlin&amp;nbsp;,thanks for the quick reply, I'll add more.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="114993" data-lia-user-login="rachaelwalker" class="lia-mention lia-mention-user"&gt;rachaelwalker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;I am also looking for the same percentage but only calcuate the last 90 days based on date entered while ignoring any other filter visuals that may be applied. &lt;/LI-CODE&gt;
&lt;P&gt;Your requirement is to calculate data with a warranty effective date within 90 days right? Suppose today is 10/22/2024,90 days before the date is 7/24/2024.The filter condition is 'Project Warranty Start' &amp;gt;= 7/24/2024 , 'Date Entered' &amp;gt;= 7/24/2024.If I understand it incorrectly Please correct me.&lt;/P&gt;
&lt;P&gt;Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _a = CALCULATE(DISTINCTCOUNT('Table'[Project Number]),'Table'[Date Entered] &amp;gt;= TODAY() - 90 &amp;amp;&amp;amp; 'Table'[StartDate] &amp;gt;= TODAY() - 90 )
VAR _b = COUNTROWS(FILTER('Projects',[Project Warranty Start] &amp;gt;= TODAY() - 90))
RETURN DIVIDE(_a,_b)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:31:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4252002#M168382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-22T06:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: percentage using values from two different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4252634#M168425</link>
      <description>&lt;P&gt;The warranty effective dates are between (Project Warranty Start Date) and (Project Warranty Date + 90 Days) so not 90 Days from today but from the Project Warranty Start. If a ticket is entered between between those dates, it goes against the project. There could be multiple tickets entered against a project but I dont want that to impact the %. Hopefully I am making sense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;I will plug these in and see how it looks against my dataset. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 13:18:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/percentage-using-values-from-two-different-tables/m-p/4252634#M168425</guid>
      <dc:creator>rachaelwalker</dc:creator>
      <dc:date>2024-10-22T13:18:31Z</dc:date>
    </item>
  </channel>
</rss>

