<?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: Incorrect Total using hard coded value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3510406#M134693</link>
    <description>&lt;P&gt;Think you resolved the issue, much appreciate the guidance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 19:31:35 GMT</pubDate>
    <dc:creator>lhall37122</dc:creator>
    <dc:date>2023-11-01T19:31:35Z</dc:date>
    <item>
      <title>Incorrect Total using hard coded value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3509828#M134671</link>
      <description>&lt;P&gt;I have a measure that I am using an if isblank function and for the true side of it I am setting the value to a hard coded amount such as 80 as shown below. But when I put this into a table visual the total at the bottom is pulling in the same 80 figure. I can't seem to determine the best way to get the actual sum of the Measure. I feel like I should have another measure that peforms the equivilent to a SUMX but could be wrong. Any insight would be greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:25:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3509828#M134671</guid>
      <dc:creator>lhall37122</dc:creator>
      <dc:date>2023-11-01T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total using hard coded value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3510218#M134689</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but please try the below if it suits your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Clinic Director Hours =
VAR _Hours = 80
VAR _result =
    SUMX (
        VALUES ( tablename[columnname that is used in the visual] ),
        IF ( ISBLANK ( [Payroll Hours] ), _Hours, [Payroll Hours] )
    )
RETURN
    _result
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:52:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3510218#M134689</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-11-01T17:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Total using hard coded value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3510406#M134693</link>
      <description>&lt;P&gt;Think you resolved the issue, much appreciate the guidance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 19:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Incorrect-Total-using-hard-coded-value/m-p/3510406#M134693</guid>
      <dc:creator>lhall37122</dc:creator>
      <dc:date>2023-11-01T19:31:35Z</dc:date>
    </item>
  </channel>
</rss>

