<?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 Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3059646#M105654</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="386456" data-lia-user-login="cyborgandy" class="lia-mention lia-mention-user"&gt;cyborgandy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;e.g Calculated column Name is Within Country and its genetrating yes and no in the rows,&lt;/LI-CODE&gt;
&lt;P&gt;Is this mean that you want to check whether the column name within [Country] column , then genetrating yes or no in the rows and calculate the amount for each country return yes.&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI is calculated based on columns, so it is difficult for Power BI to catch the column name in calculation. Here I suggest you to use &lt;A href="https://learn.microsoft.com/en-us/power-query/unpivot-column" target="_self"&gt;UNPIVOT&lt;/A&gt; function to transform your table to make calculation easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 06:22:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-03T06:22:21Z</dc:date>
    <item>
      <title>DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3058308#M105582</link>
      <description>&lt;P&gt;I have created a calculated column in my dataset where it gives me yes or no, however when I writing a different dax to obtain a different count and writing IF (Trying to use the calculated column however its not coming with the IF statement).&lt;BR /&gt;&lt;BR /&gt;e.g Calculated column Name is Within Country and its genetrating yes and no in the rows,&lt;BR /&gt;&lt;BR /&gt;Now wanted to write a DAX for : IF Within Country ="Yes", Calculate(Amount Of Spend), "0" however not able to get within country with IF statement.&lt;BR /&gt;&lt;BR /&gt;Could someone help with the DAX&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 15:50:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3058308#M105582</guid>
      <dc:creator>cyborgandy</dc:creator>
      <dc:date>2023-02-02T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3058835#M105603</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="386456" data-lia-user-login="cyborgandy" class="lia-mention lia-mention-user"&gt;cyborgandy&lt;/a&gt;, You can't directly reference the column in a measure &lt;SPAN&gt;since the measure expects and returns&amp;nbsp;a single&amp;nbsp;value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try the below function and it will show your columns,&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/selectedvalue/" target="_blank"&gt;https://dax.guide/selectedvalue/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:01:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3058835#M105603</guid>
      <dc:creator>SivaMani</dc:creator>
      <dc:date>2023-02-02T20:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3059646#M105654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="386456" data-lia-user-login="cyborgandy" class="lia-mention lia-mention-user"&gt;cyborgandy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;e.g Calculated column Name is Within Country and its genetrating yes and no in the rows,&lt;/LI-CODE&gt;
&lt;P&gt;Is this mean that you want to check whether the column name within [Country] column , then genetrating yes or no in the rows and calculate the amount for each country return yes.&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI is calculated based on columns, so it is difficult for Power BI to catch the column name in calculation. Here I suggest you to use &lt;A href="https://learn.microsoft.com/en-us/power-query/unpivot-column" target="_self"&gt;UNPIVOT&lt;/A&gt; function to transform your table to make calculation easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 06:22:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3059646#M105654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T06:22:21Z</dc:date>
    </item>
  </channel>
</rss>

