<?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: how do i get a value from a calculation to show the same value all the way down a column in a table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4263143#M168971</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="392269" data-lia-user-login="Jay2022" class="lia-mention lia-mention-user"&gt;Jay2022&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may help:&lt;/P&gt;
&lt;P&gt;Here I create a set of sample:&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then add a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = SUM('Table'[Values])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I want the value of the measure shows grouped by ID, it's possible to add a filter in the measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE =
VAR _currentID =
    SELECTEDVALUE ( 'Table'[ID] )
RETURN
    CALCULATE (
        SUM ( 'Table'[Values] ),
        FILTER ( ALL ( 'Table' ), 'Table'[ID] = _currentID )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;The result is as follow:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept/" target="_blank"&gt;Managing “all” functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT - SQLBI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/Understand-the-Filter-Context-and-How-to-Control-it/ba-p/2452011" target="_blank"&gt;Understand the Filter Context and How to Control i... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2024 02:54:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-30T02:54:43Z</dc:date>
    <item>
      <title>how do i get a value from a calculation to show the same value all the way down a column in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4262365#M168935</link>
      <description>&lt;P&gt;so i made a new measure which resulted in a value i now want that value to appear all the way down a colum so that i can pull other fields in to create a table and also perform calculations from other columns with the valye created in the measure&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 13:27:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4262365#M168935</guid>
      <dc:creator>Jay2022</dc:creator>
      <dc:date>2024-10-29T13:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a value from a calculation to show the same value all the way down a column in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4262379#M168937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="392269" data-lia-user-login="Jay2022" class="lia-mention lia-mention-user"&gt;Jay2022&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Is this a calculated column (back end in the data table) or a measure (in a visual).&lt;/P&gt;&lt;P&gt;If it is a measure in a visual then you can use:&lt;BR /&gt;Calculate( [Your Measure], table[Column] = "Your filters") to add filters&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Calculate( [Your Measure], all(table), All(table[Column])) to remove certain filters on tables or columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is a calculated column, you can create the column and set it equal to your measure.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 13:34:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4262379#M168937</guid>
      <dc:creator>SamWiseOwl</dc:creator>
      <dc:date>2024-10-29T13:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a value from a calculation to show the same value all the way down a column in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4263143#M168971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="392269" data-lia-user-login="Jay2022" class="lia-mention lia-mention-user"&gt;Jay2022&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may help:&lt;/P&gt;
&lt;P&gt;Here I create a set of sample:&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then add a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = SUM('Table'[Values])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I want the value of the measure shows grouped by ID, it's possible to add a filter in the measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE =
VAR _currentID =
    SELECTEDVALUE ( 'Table'[ID] )
RETURN
    CALCULATE (
        SUM ( 'Table'[Values] ),
        FILTER ( ALL ( 'Table' ), 'Table'[ID] = _currentID )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;The result is as follow:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept/" target="_blank"&gt;Managing “all” functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT - SQLBI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/Understand-the-Filter-Context-and-How-to-Control-it/ba-p/2452011" target="_blank"&gt;Understand the Filter Context and How to Control i... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 02:54:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4263143#M168971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-30T02:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a value from a calculation to show the same value all the way down a column in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4263650#M168990</link>
      <description>Excellent thank you</description>
      <pubDate>Wed, 30 Oct 2024 09:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-do-i-get-a-value-from-a-calculation-to-show-the-same-value/m-p/4263650#M168990</guid>
      <dc:creator>Jay2022</dc:creator>
      <dc:date>2024-10-30T09:47:32Z</dc:date>
    </item>
  </channel>
</rss>

