<?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 DAX Formula Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Help/m-p/686836#M537</link>
    <description>&lt;P&gt;I'm hoping you may be able to help.&amp;nbsp;I'm creating a report for interns over years. There is a column telling which program an intern is in, SIE (Summer Intern experience) or SH (Summer Hire). The user wants to see if there is any SH converting into a SIE.&amp;nbsp;I would like to see this trend of conversion over the years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a pivot table in excel and have this formula:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(OR(GETPIVOTDATA("True/False",$A$3,"Intern",A6,"SIE/SH","SH")=0,GETPIVOTDATA("True/False",$A$3,"Intern",A6,"SIE/SH","SIE")=0),0,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a matrix table in Power BI to display the same as the pivot table in excel, however I don't know how to write the DAX formala to give me the same results as the excel formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 19:34:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-08T19:34:06Z</dc:date>
    <item>
      <title>DAX Formula Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Help/m-p/686836#M537</link>
      <description>&lt;P&gt;I'm hoping you may be able to help.&amp;nbsp;I'm creating a report for interns over years. There is a column telling which program an intern is in, SIE (Summer Intern experience) or SH (Summer Hire). The user wants to see if there is any SH converting into a SIE.&amp;nbsp;I would like to see this trend of conversion over the years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a pivot table in excel and have this formula:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(OR(GETPIVOTDATA("True/False",$A$3,"Intern",A6,"SIE/SH","SH")=0,GETPIVOTDATA("True/False",$A$3,"Intern",A6,"SIE/SH","SIE")=0),0,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a matrix table in Power BI to display the same as the pivot table in excel, however I don't know how to write the DAX formala to give me the same results as the excel formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 19:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Help/m-p/686836#M537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-08T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Formula Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Help/m-p/3677980#M142801</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;To replicate the functionality of your Excel formula in Power BI using DAX, you'll need to create a measure that evaluates whether an intern has converted from a Summer Hire (SH) to a Summer Intern Experience (SIE) program. The Excel formula you are using checks if an intern has records in both SH and SIE categories and returns 1 if true, otherwise 0.&lt;/P&gt;
&lt;P&gt;In Power BI, you can achieve this with a combination of CALCULATE and FILTER functions within a measure. Here is an example of how you might structure your DAX formula:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;InternConversion = &lt;BR /&gt;VAR InternSH = CALCULATE(COUNTROWS('Table'), FILTER('Table', 'Table'[SIE/SH] = "SH"))&lt;BR /&gt;VAR InternSIE = CALCULATE(COUNTROWS('Table'), FILTER('Table', 'Table'[SIE/SH] = "SIE"))&lt;BR /&gt;RETURN IF(InternSH &amp;gt; 0 &amp;amp;&amp;amp; InternSIE &amp;gt; 0, 1, 0)&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 17:54:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Formula-Help/m-p/3677980#M142801</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2024-02-03T17:54:55Z</dc:date>
    </item>
  </channel>
</rss>

