<?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: Complex Calculations in Measure table in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1382308#M589302</link>
    <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;I added a date table to my model but I am still getting the wrong answers Here is my &lt;A href="https://drive.google.com/file/d/1yIkZQ_uAR5oAaa8F5r-aa-7CtI-J2KWN/view?usp=sharing" target="_blank" rel="noopener"&gt;PBIX file&lt;/A&gt;. When I slice by a date the calculations are still be done over all the data. I need to be able to show a table and graph like the one in this PBIX file in my working model. This example is just one that can be easily verified.&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;Thanks, really appreciated any advice.&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 20 Sep 2020 18:57:55 GMT</pubDate>
    <dc:creator>sps-reporter</dc:creator>
    <dc:date>2020-09-20T18:57:55Z</dc:date>
    <item>
      <title>Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1256660#M553475</link>
      <description>&lt;P&gt;I am relatively new to Power BI and have gotten in over my head. I like that it is easy to basic tasks but stuck on more complex calculations. I am trying to analyze a production system where people work on two shifts (Day,Night) and produce widgets. I would like to compare shift average widget production to individual shift average production then normalized by the number of shifts each person worked as compared to the average hours work against individual hours worked. Here is a sample production log:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get the result that I want but my model is probably too messed up since the result does not change when I change the date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is my model:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm not asking anyone to solve this problem for me but would be interested in anyone pointing out bad habits or recommend a path to good practices. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:30:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1256660#M553475</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-07-28T16:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1256772#M553510</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249250" data-lia-user-login="sps-reporter" class="lia-mention lia-mention-user"&gt;sps-reporter&lt;/a&gt;&amp;nbsp;model looks ok to me but you are missing date dimension,&amp;nbsp;As a best practice, add date dimension in your model and use it for and time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://perytus.com/2020/05/22/create-a-basic-date-table-in-your-data-model-for-time-intelligence-calculations/" target="_blank"&gt;https://perytus.com/2020/05/22/create-a-basic-date-table-in-your-data-model-for-time-intelligence-calculations/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.6277in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.6277in;"&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;I would &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;❤&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Kudos&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; if my solution helped. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Visit us at &lt;/SPAN&gt;&lt;A href="https://perytus.com" target="_blank"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;https://perytus.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;, your one-stop-shop for Power BI-related projects/training/consultancy.&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Jul 2020 17:18:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1256772#M553510</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2020-07-28T17:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1261566#M554899</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249250" data-lia-user-login="sps-reporter" class="lia-mention lia-mention-user"&gt;sps-reporter&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Didn't find any thing through the screenshot, better to share you pbix to us if you don't have any&amp;nbsp;Confidential Information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 09:40:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1261566#M554899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-30T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269218#M557109</link>
      <description>&lt;P&gt;Thanks, I could share the PBIX file. The data is sanitized and from an Excel Spreadsheet. I can see how to up load the file. I have a Pro license but it is not letting create a embed link. What is the best way to share a PBIX file with the forum?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 17:08:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269218#M557109</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-08-03T17:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269224#M557112</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249250" data-lia-user-login="sps-reporter" class="lia-mention lia-mention-user"&gt;sps-reporter&lt;/a&gt;&amp;nbsp;share it using one drive/google drive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 17:10:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269224#M557112</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2020-08-03T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269693#M557245</link>
      <description>&lt;P&gt;Thanks after some head banging I got it figured out. I was making this more complicated than I needed to. I was thinking in terms of tables when measures were needed. For those who find this afterwards maybe this &lt;A href="https://summitphysicianspecialists1-my.sharepoint.com/:u:/g/personal/reports_spsradiology_com/EXUyq_kh7xZJmN_niV_loX0B5I34Xe9JaVRGtQgBULA0kQ?e=mlhuqa" target="_self"&gt;PBIX&lt;/A&gt; will help. Appreciate any comments that one might have on this.&lt;/P&gt;&lt;P&gt;Oh, is there a way to safe the "under the hood" DAX expressions, for measures and tables, to a file?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 21:46:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269693#M557245</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-08-03T21:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269705#M557248</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249250" data-lia-user-login="sps-reporter" class="lia-mention lia-mention-user"&gt;sps-reporter&lt;/a&gt;&amp;nbsp;there are many external tools available to document power bi files. &lt;A href="https://data-marc.com/2020/07/28/external-tools-document-your-power-bi-model/#:~:text=Open%20a%20Power%20BI%20solution%20that%20you%20want,process%20that%20triggers%20all%20other%20actions%20to%20happen." target="_self"&gt;Here is such a tool.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.6277in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 7.6277in;"&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;I would &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;❤&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Kudos&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; if my solution helped. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt; If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-size: 9.0pt;"&gt;&lt;SPAN style="font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;Visit us at &lt;/SPAN&gt;&lt;A href="https://perytus.com" target="_blank"&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;https://perytus.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: bold; font-family: Calibri;"&gt;, your one-stop-shop for Power BI-related projects/training/consultancy.&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: 'Segoe UI Emoji';"&gt;&lt;span class="lia-unicode-emoji" title=":high_voltage:"&gt;⚡&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 21:48:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269705#M557248</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2020-08-03T21:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269731#M557256</link>
      <description>&lt;P&gt;Thanks, this is what I was looking for. Looks like DAX Studio has a similar function as well.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 22:01:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1269731#M557256</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-08-03T22:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1382305#M589301</link>
      <description>&lt;P&gt;Thanks for your reply. I am still banging my head on this. I get the correct answers when all the dates are selected but when I choose a subset of the data by date the answers are wrong and it appears most of the measures are still be calculated on all dates. Here is my &lt;A href="https://drive.google.com/file/d/1yIkZQ_uAR5oAaa8F5r-aa-7CtI-J2KWN/view?usp=sharing" target="_blank" rel="noopener"&gt;PBIX file.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I bet there is something simple that I am missing because it seems power bi is built to do these types of calculations&lt;/P&gt;&lt;P&gt;Any tips would be great.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 18:52:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1382305#M589301</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-09-20T18:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Calculations in Measure table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1382308#M589302</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;I added a date table to my model but I am still getting the wrong answers Here is my &lt;A href="https://drive.google.com/file/d/1yIkZQ_uAR5oAaa8F5r-aa-7CtI-J2KWN/view?usp=sharing" target="_blank" rel="noopener"&gt;PBIX file&lt;/A&gt;. When I slice by a date the calculations are still be done over all the data. I need to be able to show a table and graph like the one in this PBIX file in my working model. This example is just one that can be easily verified.&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;Thanks, really appreciated any advice.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Sep 2020 18:57:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Complex-Calculations-in-Measure-table/m-p/1382308#M589302</guid>
      <dc:creator>sps-reporter</dc:creator>
      <dc:date>2020-09-20T18:57:55Z</dc:date>
    </item>
  </channel>
</rss>

