<?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: ADD NEW COLUMN with DAX throwing error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761701#M146769</link>
    <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I did actually try the formula mentioned by you but unfortunately it is not giving the correct return values so although it doesn't throw an error but it is also not able to give me accurate results. I was wondering if there is a bug and if there was a way to diagnose that in my PBIX File.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 20:50:29 GMT</pubDate>
    <dc:creator>Help_Please</dc:creator>
    <dc:date>2024-03-13T20:50:29Z</dc:date>
    <item>
      <title>ADD NEW COLUMN with DAX throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3760905#M146721</link>
      <description>&lt;P&gt;I have created a PBIX File on desktop with multiple tables. Out of those I have created an active relationship between 2 tables, Table A &amp;amp; Table B. Relationship between A&amp;amp;B is Many to One (Both) cardinality&lt;/P&gt;&lt;P&gt;Now I added a NEW COLUMN in Table A and entered a DAX Formula which comprises of multiple conditions (refer formula below) using Columns from both Tables A&amp;amp;B. The same formula worked in another PBIX File with a different data set.&lt;/P&gt;&lt;P&gt;However, despite both tables having an active relationship, the DAX formula is not suggesting Table B or any of it's Columns, so despite my formula being correct the result is an error with incomprehensible errors. Please help.&lt;/P&gt;&lt;P&gt;Please Note-&lt;/P&gt;&lt;P&gt;-Relationship Active&lt;/P&gt;&lt;P&gt;-All Columns in Text Format&lt;/P&gt;&lt;P&gt;-No data related errors upon refresh&lt;/P&gt;&lt;P&gt;-Tables refreshed both in Transform, front end as well in the Relationship Model&lt;/P&gt;&lt;P&gt;-Checked for duplications, blanks, etc. No data discrepancies&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-DAX Formula is&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Column = MAXX(FILTER(&lt;BR /&gt;'TABLE A','TABLE A'[Date]&amp;gt;='TABLE B'[Migration Date]&amp;amp;&amp;amp;&lt;BR /&gt;'TABLE A'[Date]&amp;lt;='TABLE B'[Exit Date]&amp;amp;&amp;amp;&lt;BR /&gt;'TABLE A'[Unique Code]='TABLE B'[Unique Code]&amp;amp;&amp;amp;&lt;BR /&gt;'TABLE A'[Cluster Code]='TABLE B'[Cluster Code]),&lt;BR /&gt;'TABLE B'[Name])&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 14:17:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3760905#M146721</guid>
      <dc:creator>Help_Please</dc:creator>
      <dc:date>2024-03-13T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: ADD NEW COLUMN with DAX throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761344#M146748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="705051" data-lia-user-login="Help_Please" class="lia-mention lia-mention-user"&gt;Help_Please&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;New Column = MAXX(FILTER(
'TABLE A','TABLE A'[Date]&amp;gt;=RELATED('TABLE B'[Migration Date])&amp;amp;&amp;amp;
'TABLE A'[Date]&amp;lt;=RELATED('TABLE B'[Exit Date])&amp;amp;&amp;amp;
'TABLE A'[Unique Code]=RELATED('TABLE B'[Unique Code])&amp;amp;&amp;amp;
'TABLE A'[Cluster Code]=RELATED('TABLE B'[Cluster Code])),
'TABLE B'[Name])&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:19:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761344#M146748</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-03-13T17:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: ADD NEW COLUMN with DAX throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761701#M146769</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I did actually try the formula mentioned by you but unfortunately it is not giving the correct return values so although it doesn't throw an error but it is also not able to give me accurate results. I was wondering if there is a bug and if there was a way to diagnose that in my PBIX File.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 20:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761701#M146769</guid>
      <dc:creator>Help_Please</dc:creator>
      <dc:date>2024-03-13T20:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: ADD NEW COLUMN with DAX throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761891#M146788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="705051" data-lia-user-login="Help_Please" class="lia-mention lia-mention-user"&gt;Help_Please&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are trying to run the MAXX function on name. Any specific reason?&lt;/P&gt;&lt;P&gt;Can you provide the pbix file with sensitive data removed?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 00:43:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3761891#M146788</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-03-14T00:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: ADD NEW COLUMN with DAX throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3762725#M146821</link>
      <description>&lt;P&gt;MAXX function I have used as an aggregator function so that it can return the exact value basis the conditions set. Somehow this formula works in another PBIX file but this file it is not able to return value. It's because it is not able to read the Table B and it's columns. I feel if I can resolve that the formula would also start working.&lt;/P&gt;&lt;P&gt;About sharing PBIX File, unfortunately, my company policies do not permit us to share any information including files with dummy data with outside company &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 07:50:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ADD-NEW-COLUMN-with-DAX-throwing-error/m-p/3762725#M146821</guid>
      <dc:creator>Help_Please</dc:creator>
      <dc:date>2024-03-14T07:50:34Z</dc:date>
    </item>
  </channel>
</rss>

