<?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: Compare Selected quarter on parallel bar chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1458874#M27493</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi parag,&lt;/P&gt;&lt;P&gt;If you make 2 date-slicers which exists in the same table, it would slice each other ending up having null table.&lt;/P&gt;&lt;P&gt;the solution would be introducing two calculate tables which can be used as slicers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From your data,&lt;/P&gt;&lt;P&gt;Step1. Create calculated quater column in the main table (as you made for [quater1] and [quater2]):&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Quarter = CONCATENATE(FORMAT([Date],"YYYY"), CONCATENATE(" Q",ROUNDUP(MONTH([Date])/3,0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Step2. Create two tables (Sellecting quater slicers):&lt;/P&gt;&lt;P&gt;QtrA = values(Sheet1[Quarter])&lt;BR /&gt;QtrB = values(Sheet1[Quarter])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step3. Adjust your measures as below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Measure-1 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter]=SELECTEDVALUE(QtrA[Quarter])))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure-2 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter]=SELECTEDVALUE(QtrB[Quarter])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Step4.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;make 2 slicers with&amp;nbsp;QtrA &amp;amp;&amp;nbsp;QtrB (remove your Quater1 and Quater2 from the canvas)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;make bar chart:&amp;nbsp; Axis: Category, Values: Measure-1 and Measure-2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 17:43:59 GMT</pubDate>
    <dc:creator>colacan</dc:creator>
    <dc:date>2020-10-27T17:43:59Z</dc:date>
    <item>
      <title>Compare Selected quarter on parallel bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1458711#M27486</link>
      <description>&lt;P&gt;I want to compare total balance of 2 selected quarter for different categories in a parallel bar chart format. To achieve this I've created 2 different columns and created 2 measures corresponding to each quarter column like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure-1 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter1]=SELECTEDVALUE(Sheet1[Quarter1])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure-2 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter1]=SELECTEDVALUE(Sheet1[Quarter2])))&lt;/LI-CODE&gt;&lt;P&gt;The measure values are getting populated, but when I try to plot these measures on clustered column chart, nothing shows up. It looks like both the selected values are interacting with the chart hence nothing gets plotted. Is there any workaround for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the idea is when I select the quarters from 2 different slicers, the corresponding measures gets calculated and I can plot the sum of balance on parallel bar plot for different categories on x-axis. I'm attaching the pbix file for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="PBIX file" href="https://drive.google.com/file/d/1QdbAit2-CjJ0naa3xOxKW6T_K0XQMbRa/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1QdbAit2-CjJ0naa3xOxKW6T_K0XQMbRa/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:32:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1458711#M27486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Selected quarter on parallel bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1458874#M27493</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi parag,&lt;/P&gt;&lt;P&gt;If you make 2 date-slicers which exists in the same table, it would slice each other ending up having null table.&lt;/P&gt;&lt;P&gt;the solution would be introducing two calculate tables which can be used as slicers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From your data,&lt;/P&gt;&lt;P&gt;Step1. Create calculated quater column in the main table (as you made for [quater1] and [quater2]):&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Quarter = CONCATENATE(FORMAT([Date],"YYYY"), CONCATENATE(" Q",ROUNDUP(MONTH([Date])/3,0)))&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Step2. Create two tables (Sellecting quater slicers):&lt;/P&gt;&lt;P&gt;QtrA = values(Sheet1[Quarter])&lt;BR /&gt;QtrB = values(Sheet1[Quarter])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step3. Adjust your measures as below:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Measure-1 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter]=SELECTEDVALUE(QtrA[Quarter])))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure-2 = CALCULATE(SUM(Sheet1[Balance]),FILTER(Sheet1, Sheet1[Quarter]=SELECTEDVALUE(QtrB[Quarter])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Step4.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;make 2 slicers with&amp;nbsp;QtrA &amp;amp;&amp;nbsp;QtrB (remove your Quater1 and Quater2 from the canvas)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;make bar chart:&amp;nbsp; Axis: Category, Values: Measure-1 and Measure-2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 17:43:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1458874#M27493</guid>
      <dc:creator>colacan</dc:creator>
      <dc:date>2020-10-27T17:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Selected quarter on parallel bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1459113#M27502</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255602" data-lia-user-login="colacan" class="lia-mention lia-mention-user"&gt;colacan&lt;/a&gt;&amp;nbsp;this is perfect. Thank you so much.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 20:03:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-Selected-quarter-on-parallel-bar-chart/m-p/1459113#M27502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T20:03:44Z</dc:date>
    </item>
  </channel>
</rss>

