<?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: Need to build a line and stacked column chart - struggling with it in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-build-a-line-and-stacked-column-chart-struggling-with-it/m-p/2832442#M90275</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , With help from date table you need measure like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(DistinctCount(Table[PN Number]),filter(all('Date'),'Date'[date] &amp;lt;=max('Date'[date])))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;radacad&lt;/A&gt; &lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;sqlbi&lt;/A&gt; &lt;A href="https://www.youtube.com/playlist?list=PLPaNVDMhUXGYLz-w8ERQOo3KYARs7GgG-" target="_blank"&gt;My Video Series&lt;/A&gt; Appreciate your Kudos. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 01:41:30 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-10-11T01:41:30Z</dc:date>
    <item>
      <title>Need to build a line and stacked column chart - struggling with it</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-build-a-line-and-stacked-column-chart-struggling-with-it/m-p/2831716#M90237</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to build a line and stacked column chart, its components will be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LINE VALUES:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- shows the cumulative number of PN (part numbers) at the end of every month (the table below shows values for August, for example)&lt;/P&gt;&lt;P&gt;- Details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When we see one PN number several times in a month (like PN 1282370 in August) - we count it as 1.&lt;/LI&gt;&lt;LI&gt;We count every blank value in the PN column as a separate PN (like, we don't know whether they are the same or not)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;SHARED AXIS:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Would be just a name of the month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COLUMN SERIES:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Values from the "Family" column&lt;/P&gt;&lt;P&gt;- Details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There are multiple families&lt;/LI&gt;&lt;LI&gt;Some family values are blank, too&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;COLUMN VALUES:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Count each "Family" type:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If we take August values from the table below, the count would be:&amp;nbsp;&lt;UL&gt;&lt;LI&gt;2 for family S, 1 for blank. Why? Because we have to keep in mind the "Project Name" column:&lt;UL&gt;&lt;LI&gt;So, for the month of August, Project "S 3" would have 3 PNs at risk&lt;/LI&gt;&lt;LI&gt;Project "H 6" would have 1 PN at risk&lt;/LI&gt;&lt;LI&gt;Project "300k" would have 3 PNs at risk&lt;/LI&gt;&lt;LI&gt;Total: 7 PNs at risk&lt;/LI&gt;&lt;LI&gt;The count of "Family" at the end of August would be 2: a count of 1 for family type S, and 1 value for the blank value.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Table for the chart:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;help me, guys and gals, I beg you&lt;span class="lia-unicode-emoji" title=":loudly_crying_face:"&gt;😭&lt;/span&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 16:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-build-a-line-and-stacked-column-chart-struggling-with-it/m-p/2831716#M90237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T16:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to build a line and stacked column chart - struggling with it</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-build-a-line-and-stacked-column-chart-struggling-with-it/m-p/2832442#M90275</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , With help from date table you need measure like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(DistinctCount(Table[PN Number]),filter(all('Date'),'Date'[date] &amp;lt;=max('Date'[date])))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;radacad&lt;/A&gt; &lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;sqlbi&lt;/A&gt; &lt;A href="https://www.youtube.com/playlist?list=PLPaNVDMhUXGYLz-w8ERQOo3KYARs7GgG-" target="_blank"&gt;My Video Series&lt;/A&gt; Appreciate your Kudos. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 01:41:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-build-a-line-and-stacked-column-chart-struggling-with-it/m-p/2832442#M90275</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-11T01:41:30Z</dc:date>
    </item>
  </channel>
</rss>

