<?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 Column Table Measure to Show Individual Values in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2628699#M37263</link>
    <description>&lt;P&gt;I have two datasets i am trying to show in a table/column format. However, I can't get the second dataset values to show indivdual Forecast values as it rolls them up into&amp;nbsp;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; values throughout the months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both have realtionship links to a date table, however it is still rolling them up. The main function is using the filter to showcase specifc months using the slicer. See below link to file, image and measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart.PNG" style="width: 863px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/745549iC451C57BCEF47845/image-dimensions/863x454?v=v2" width="863" height="454" role="button" title="chart.PNG" alt="chart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The forecast measure below is the same as the sales measure. However, is looking at "Forecast" Values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Forecast (last n months) = 
VAR MaxFactDate =
    CALCULATE ( MAX ( Sales[Date] ), ALL ( 'Date' ) ) -- ignore the selected date filter, and find the max of date in Forecast table 
VAR FDate =
    ENDOFMONTH ( 'Date'[Date] ) -- get the last day of the month selected in the date filter
VAR Edate =
    EDATE ( FDate, -[N Value] ) -- get the last day of -N months
RETURN
    IF (
MaxFactDate &amp;lt;= MAX ( 'Date'[Date] )
&amp;amp;&amp;amp; MaxFactDate &amp;gt; Edate,
        CALCULATE ( SUM ( Forecast[Forecast] ), ALL ( 'Date' ) )
    )-- if the date in the fact table is between the last N months, display Forecast, else nothing. Note that we are ignoring the date filter, only respect the date in FACT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way make it so the forecast values are not Total values?&amp;nbsp;&lt;/P&gt;&lt;P&gt;File data shared link below&lt;/P&gt;&lt;P&gt;&lt;A title="TableBi" href="https://www.dropbox.com/s/jen6rxuhmayq8iw/test_last12months.pbix?dl=0" target="_self"&gt;Tablechart.pbi&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2022 08:06:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-09T08:06:46Z</dc:date>
    <item>
      <title>Column Table Measure to Show Individual Values</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2628699#M37263</link>
      <description>&lt;P&gt;I have two datasets i am trying to show in a table/column format. However, I can't get the second dataset values to show indivdual Forecast values as it rolls them up into&amp;nbsp;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; values throughout the months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both have realtionship links to a date table, however it is still rolling them up. The main function is using the filter to showcase specifc months using the slicer. See below link to file, image and measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart.PNG" style="width: 863px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/745549iC451C57BCEF47845/image-dimensions/863x454?v=v2" width="863" height="454" role="button" title="chart.PNG" alt="chart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The forecast measure below is the same as the sales measure. However, is looking at "Forecast" Values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Forecast (last n months) = 
VAR MaxFactDate =
    CALCULATE ( MAX ( Sales[Date] ), ALL ( 'Date' ) ) -- ignore the selected date filter, and find the max of date in Forecast table 
VAR FDate =
    ENDOFMONTH ( 'Date'[Date] ) -- get the last day of the month selected in the date filter
VAR Edate =
    EDATE ( FDate, -[N Value] ) -- get the last day of -N months
RETURN
    IF (
MaxFactDate &amp;lt;= MAX ( 'Date'[Date] )
&amp;amp;&amp;amp; MaxFactDate &amp;gt; Edate,
        CALCULATE ( SUM ( Forecast[Forecast] ), ALL ( 'Date' ) )
    )-- if the date in the fact table is between the last N months, display Forecast, else nothing. Note that we are ignoring the date filter, only respect the date in FACT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way make it so the forecast values are not Total values?&amp;nbsp;&lt;/P&gt;&lt;P&gt;File data shared link below&lt;/P&gt;&lt;P&gt;&lt;A title="TableBi" href="https://www.dropbox.com/s/jen6rxuhmayq8iw/test_last12months.pbix?dl=0" target="_self"&gt;Tablechart.pbi&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 08:06:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2628699#M37263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-09T08:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Column Table Measure to Show Individual Values</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2632236#M37297</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;@Anonymous,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It seems like you are summary forecast table records, I'd like to suggest you add a condition to check the current date and use it to limit the calculation ranges:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Forecast (last n months) =
VAR currDate =
    MAX ( 'Date'[Date] )
VAR MaxFactDate =
    CALCULATE ( MAX ( Sales[Date] ), ALL ( 'Date' ) )
VAR Edate =
    EDATE ( ENDOFMONTH ( 'Date'[Date] ), - [N Value] ) -- get the last day of -N months
RETURN
    IF (
        MaxFactDate &amp;lt;= currDate
            &amp;amp;&amp;amp; MaxFactDate &amp;gt; Edate,
        CALCULATE (
            SUM ( Forecast[Forecast] ),
            FILTER ( ALLSELECTED ( 'Forecast' ), 'Forecast'[Date] &amp;lt;= currDate )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2632236#M37297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-12T00:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Column Table Measure to Show Individual Values</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2636338#M37325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure you suggested continues to roll up the values into totals.&amp;nbsp; Is there a way to look at the "date" table to breakdown values into period monthly values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:42:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Column-Table-Measure-to-Show-Individual-Values/m-p/2636338#M37325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-13T12:42:29Z</dc:date>
    </item>
  </channel>
</rss>

