<?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 issue on published dataset in Tabular Editor but works on direct query version in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587015#M138395</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661739" data-lia-user-login="mhamilt1" class="lia-mention lia-mention-user"&gt;mhamilt1&lt;/a&gt;&amp;nbsp;to use RELATED you need to have regular many to one relationship in model.&lt;/P&gt;
&lt;P&gt;Check your model for this part.&lt;/P&gt;
&lt;P&gt;Useful link below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dax.guide/related/" target="_self"&gt;https://dax.guide/related/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Dec 2023 19:26:53 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-12-16T19:26:53Z</dc:date>
    <item>
      <title>DAX issue on published dataset in Tabular Editor but works on direct query version</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3586890#M138386</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We have a published model that I need to add a few tables to. I dont have the original pbix file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added 2 tables for Customer Segments and added a formula column. I get an error about the DAX formula but I can get this to work on a different new offline direct query power bi model.&lt;/P&gt;&lt;P&gt;I added joins and put this formula in:&lt;/P&gt;&lt;PRE&gt;&lt;FONT&gt;&lt;FONT&gt;SUMX&lt;/FONT&gt; &lt;FONT&gt;(&lt;/FONT&gt;&lt;FONT&gt; 'Customer Segment Bridge', 'Customer Segment Bridge'[segment_allocation] * &lt;/FONT&gt;&lt;FONT&gt;RELATED&lt;/FONT&gt; &lt;FONT&gt;(&lt;/FONT&gt;&lt;FONT&gt; 'Flight Fact'[#Pax Quantity] &lt;/FONT&gt;&lt;FONT&gt;) )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;Expression: The column 'Flight Fact[#Pax Quantity]' either doesn't exist or doesn't have a relationship to any table available in the current context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it does. I can share the .bim file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help how to debug will be great!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 13:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3586890#M138386</guid>
      <dc:creator>mhamilt1</dc:creator>
      <dc:date>2023-12-16T13:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX issue on published dataset in Tabular Editor but works on direct query version</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587015#M138395</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661739" data-lia-user-login="mhamilt1" class="lia-mention lia-mention-user"&gt;mhamilt1&lt;/a&gt;&amp;nbsp;to use RELATED you need to have regular many to one relationship in model.&lt;/P&gt;
&lt;P&gt;Check your model for this part.&lt;/P&gt;
&lt;P&gt;Useful link below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dax.guide/related/" target="_self"&gt;https://dax.guide/related/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 19:26:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587015#M138395</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-16T19:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX issue on published dataset in Tabular Editor but works on direct query version</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587403#M138441</link>
      <description>&lt;P&gt;Hi some_bih, I do have a many to 1 relationship. Is there any log or way to share the file to get some support that way. As far as I can see, I make the same join and formula in a new pbi workbook, publish it and it works but the one that is already published that I extend using tabular editor does not accept the formula. The tables are related because I can select from them and the joins work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a funny join though. It is a many to one from a dimension bridge table to a fact table. The fact table may have joins to other dimensions which are many to one from fact to dim but the formula does not work if I only use the 2 tables.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 10:30:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587403#M138441</guid>
      <dc:creator>mhamilt1</dc:creator>
      <dc:date>2023-12-17T10:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: DAX issue on published dataset in Tabular Editor but works on direct query version</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587654#M138469</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661739" data-lia-user-login="mhamilt1" class="lia-mention lia-mention-user"&gt;mhamilt1&lt;/a&gt;&amp;nbsp;some of functions are not supported in Direct query. Sharing files could be via Office 365 or some others providers like Dropbox, Google drive. Hide sensitive data and sharw link&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 17:46:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3587654#M138469</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-17T17:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX issue on published dataset in Tabular Editor but works on direct query version</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3598492#M139041</link>
      <description>&lt;P&gt;We solved this by removing the RELATED() function and changing the #Pax_Quantity to reference a calculated measure column. Im not sure why the original formula did not work on a published model but did on a direct query model. However, It is solved so we can close.&lt;/P&gt;&lt;PRE&gt;&lt;FONT&gt;SUMX ( 'Customer Segment Bridge', 'Customer Segment Bridge'[segment_allocation] * [#Pax] ) )&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 09:03:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-issue-on-published-dataset-in-Tabular-Editor-but-works-on/m-p/3598492#M139041</guid>
      <dc:creator>mhamilt1</dc:creator>
      <dc:date>2023-12-22T09:03:44Z</dc:date>
    </item>
  </channel>
</rss>

