<?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: DAX Query - Multi-conditional IF statement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Multi-conditional-IF-statement/m-p/3038592#M104130</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , is it a cross table formula ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 18:06:56 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-01-23T18:06:56Z</dc:date>
    <item>
      <title>DAX Query - Multi-conditional IF statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Multi-conditional-IF-statement/m-p/3038297#M104115</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write the following in DAX, but am running into a lot of syntax issues and also having difficulty getting my DAX to correctly recognise Tables and Columns with a lot of text showing up Grey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;('(2) Time Structure'[Quarter] =(&lt;/SPAN&gt;&lt;SPAN&gt;"Q1"&lt;/SPAN&gt;&lt;SPAN&gt;),["0"])&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;('(2) Reporting Cycles'[Reporting Cycle]=&lt;/SPAN&gt;&lt;SPAN&gt;"Actuals 2022"&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;('(2) Latest Actuals'[Month]&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;),(&lt;/SPAN&gt;&lt;SPAN&gt;"Q1"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;U&gt;calculate('(1f) Headcount'[Vol Leavers positive]/ '(1f) Headcount'[HC Op w PF Adj] *4, '(2) Time Structure'[Quarter] IN {"Q1"&lt;/U&gt;&lt;SPAN&gt;&lt;U&gt;})&lt;/U&gt;,(&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This formula is then repeated 3 more times for "Q2", "Q3", and "Q4". &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;At a very basic level I want it to say:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If (Quarter = Q1) &amp;amp; (Reporting Cycle = Actuals 2022) and (Latest Month is greater or equal to 3), then perform the calculation, if not then give value of ("0").&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:23:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Multi-conditional-IF-statement/m-p/3038297#M104115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-23T16:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query - Multi-conditional IF statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Multi-conditional-IF-statement/m-p/3038592#M104130</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , is it a cross table formula ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 18:06:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Multi-conditional-IF-statement/m-p/3038592#M104130</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-23T18:06:56Z</dc:date>
    </item>
  </channel>
</rss>

