<?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: Measure works in Power BI Desktop but not after publishing in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1144714#M17215</link>
    <description>&lt;P&gt;It's working!&amp;nbsp; You're correct that the issue was with the Date (calendar) table.&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jun 2020 16:48:05 GMT</pubDate>
    <dc:creator>soundguy2</dc:creator>
    <dc:date>2020-06-05T16:48:05Z</dc:date>
    <item>
      <title>Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1142911#M17153</link>
      <description>&lt;P&gt;I created a DAX measure to show me the total of the most recent day's sales, regardless of filter context.&amp;nbsp; The measure seems to function correctly in Power BI Desktop, but any visuals using it produce an error message when published to Power BI Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure looks like this.&amp;nbsp; Is there any reason it would work in Desktop but not on Power BI Service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Latest Sales =&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CALCULATE([Total Sales],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FILTER(ALL('Calendar'),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'Calendar'[Date] = MAX('Sales Data'[DateCreated])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 22:09:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1142911#M17153</guid>
      <dc:creator>soundguy2</dc:creator>
      <dc:date>2020-06-04T22:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1142985#M17155</link>
      <description>&lt;P&gt;What does the error message say?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 23:12:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1142985#M17155</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-06-04T23:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143010#M17157</link>
      <description>&lt;P&gt;All it really says is that 'something's wrong' and points me to the affected measure.&amp;nbsp; This only happens after it's been published.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jun 2020 23:57:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143010#M17157</guid>
      <dc:creator>soundguy2</dc:creator>
      <dc:date>2020-06-04T23:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143060#M17158</link>
      <description>&lt;P&gt;Can you confirm that your Calendar table on the service dataset is contiguous and covering?&amp;nbsp; You can use DAX Studio with the service dataset as an XMLA endpoint to check that.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 00:57:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143060#M17158</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-06-05T00:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143079#M17160</link>
      <description>&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you're on to something with the date table.&amp;nbsp; The date table is generated from a script, so it's contiguous and covers the range of the data.&amp;nbsp; However, it's stored as Datetime format and maybe this is conflicting with the server time when published to Power BI Service.&amp;nbsp; I'll try changing to Date format and I'll post tomorrow whether that fixes the issue.&amp;nbsp; Thanks for the direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 01:25:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1143079#M17160</guid>
      <dc:creator>soundguy2</dc:creator>
      <dc:date>2020-06-05T01:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1144714#M17215</link>
      <description>&lt;P&gt;It's working!&amp;nbsp; You're correct that the issue was with the Date (calendar) table.&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 16:48:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/1144714#M17215</guid>
      <dc:creator>soundguy2</dc:creator>
      <dc:date>2020-06-05T16:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Measure works in Power BI Desktop but not after publishing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/4035355#M159915</link>
      <description>&lt;P&gt;This issue was infuriating for me. I finally narrowed the issue down to a data type that I changed in my model not transferring over to the web service. So, instead of changing the data type in the model, I changed it within power query and that seemed to resolve the issue when publishing. Hope this helps&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 18:38:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-works-in-Power-BI-Desktop-but-not-after-publishing/m-p/4035355#M159915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-10T18:38:10Z</dc:date>
    </item>
  </channel>
</rss>

