<?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 Slicer not working with pie chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4004715#M156313</link>
    <description>&lt;P&gt;Having a problem with a pie chart.&amp;nbsp; &amp;nbsp;The pie chart is picking up the selected value for all 5 months and summing them instead of just the one month indicated by the slicer. As you can see in the pic, it says the visual is picking up both the year and the month filters from Commissions (All).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The data is as follows January thru May, left to right.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a line graph for this particular item on another page that displays the monthly values just fine. I don't know why this particular visual is behaving in this way. For now, the [one] slicer is synced to all pages and displayed on all pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the data table in Power BI itself, all looks as it should.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 21:07:50 GMT</pubDate>
    <dc:creator>Dan_at_TWE</dc:creator>
    <dc:date>2024-06-21T21:07:50Z</dc:date>
    <item>
      <title>Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4004715#M156313</link>
      <description>&lt;P&gt;Having a problem with a pie chart.&amp;nbsp; &amp;nbsp;The pie chart is picking up the selected value for all 5 months and summing them instead of just the one month indicated by the slicer. As you can see in the pic, it says the visual is picking up both the year and the month filters from Commissions (All).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The data is as follows January thru May, left to right.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a line graph for this particular item on another page that displays the monthly values just fine. I don't know why this particular visual is behaving in this way. For now, the [one] slicer is synced to all pages and displayed on all pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the data table in Power BI itself, all looks as it should.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 21:07:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4004715#M156313</guid>
      <dc:creator>Dan_at_TWE</dc:creator>
      <dc:date>2024-06-21T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4005102#M156369</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 14:58:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4005102#M156369</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-22T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4005692#M156593</link>
      <description>&lt;P&gt;&amp;nbsp;I'm obviously missing something real basic with how slicers work.&amp;nbsp; I have the three sample data spreadsheets and the model file. No matter how the slicer is set, it's a sum of all the months. It happens with any account in the value box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to to be able to select a month, and have a pie chart of the expenses for that month. Of course it would be more than just the one, but they are all doing the same thing.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/drive/folders/1OyYKYJQHJNbdkDBj--BW8BpQ-cFEvJ_0?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/drive/folders/1OyYKYJQHJNbdkDBj--BW8BpQ-cFEvJ_0?usp=sharing&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 17:05:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4005692#M156593</guid>
      <dc:creator>Dan_at_TWE</dc:creator>
      <dc:date>2024-06-23T17:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4010425#M157806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="720278" data-lia-user-login="Dan_at_TWE" class="lia-mention lia-mention-user"&gt;Dan_at_TWE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's because the relationship, the directionof the cross filter.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The [Is value] in Income_Statements table can not be affected by the Slicer in Balance_Sheets.&lt;/P&gt;
&lt;P&gt;So I write a dax:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE =
VAR _vtable =
    FILTER (
        SELECTCOLUMNS (
            ALLSELECTED ( Income_Statements ),
            'Income_Statements'[Level 3],
            'Income_Statements'[IS Value],
            'Income_Statements'[Date],
            "_Month1", FORMAT ( 'Income_Statements'[Date], "mmmm" )
        ),
        'Income_Statements'[Level 3] = "Comissions"
            &amp;amp;&amp;amp; FIND (
                [_Month1],
                CONCATENATEX (
                    SELECTCOLUMNS (
                        SUMMARIZE (
                            'Balance_Sheets',
                            'Balance_Sheets'[Date],
                            "_Month", FORMAT ( [Date], "mmmm" )
                        ),
                        [_Month]
                    ),
                    [_Month]
                ),
                ,
                BLANK ()
            )
                &amp;lt;&amp;gt; BLANK ()
    )
RETURN
    SUMX ( _vtable, [IS Value] )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;The result is as follow:&lt;/P&gt;
&lt;P&gt;&lt;img /&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, 26 Jun 2024 05:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4010425#M157806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-26T05:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4011324#M157886</link>
      <description>&lt;P&gt;I figured out yesterday that I was using a slicer from the wrong table.&amp;nbsp; If I use the other one from the income statements, it works. Hats off to v-zhengdxu-msft to show me how to integrate the two.&amp;nbsp;Thanks for the code. &amp;nbsp;In hindsight, the best solution would have been to create a master date table for everything to use, and turn off the auto time option.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 13:09:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4011324#M157886</guid>
      <dc:creator>Dan_at_TWE</dc:creator>
      <dc:date>2024-06-26T13:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Slicer not working with pie chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4012328#M158003</link>
      <description>&lt;P&gt;Usually if you see an important date in your model, a date table is generally the better way to go.&lt;/P&gt;
&lt;P&gt;The sooner you get used to a date table, the more you will see the usefulness.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 02:30:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Slicer-not-working-with-pie-chart/m-p/4012328#M158003</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2024-06-27T02:30:49Z</dc:date>
    </item>
  </channel>
</rss>

