<?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 Mutiple slicers. If one has no selection - don't show the data on the dynamic chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2846230#M91086</link>
    <description>&lt;P&gt;I have a dynamic line chart and 3 slicers (more to come).&amp;nbsp;&lt;BR /&gt;Each slicer has been created using the preview feature - Field Parameters - and each slicer may contain 4 or more measures/selections in each.&lt;BR /&gt;&lt;BR /&gt;When the user selects a measure within the slicer, it is then added to the line chart.&lt;/P&gt;&lt;P&gt;This allows the user to see multiple measures on one chart.&lt;/P&gt;&lt;P&gt;When the user does not pick a measure from the slicer, Power BI defaults to showing all the measures instead of none.&lt;BR /&gt;&lt;BR /&gt;I made an attempt to prevent this by making the measure below, however, it blocked all data appearing on the chart, even ones from the slicers that had a selection.&lt;BR /&gt;For more context:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slicers:&lt;/P&gt;&lt;P&gt;Region&lt;/P&gt;&lt;P&gt;Open year&lt;/P&gt;&lt;P&gt;product&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Chart:&lt;BR /&gt;Measures missed payments.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For the region, I made this measure and added it as a new data field to the chart&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;regionfilt= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Region&lt;/SPAN&gt;&lt;SPAN&gt;[Region Fields]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The chart applies this as logic when IS 1.&lt;BR /&gt;However, when no region is chosen (so the user is not interested in charting a region) the chart goes blank, even if the user selects a product to chart.&lt;BR /&gt;&lt;BR /&gt;Is there a way to make that region measure only apply to the region selections?&lt;BR /&gt;The solution will be to apply this logic to the other field slicers - product and open year - so that the user can ignore those too if they -for example - only want to focus on region.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 17 Oct 2022 11:01:50 GMT</pubDate>
    <dc:creator>leeham</dc:creator>
    <dc:date>2022-10-17T11:01:50Z</dc:date>
    <item>
      <title>Mutiple slicers. If one has no selection - don't show the data on the dynamic chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2846230#M91086</link>
      <description>&lt;P&gt;I have a dynamic line chart and 3 slicers (more to come).&amp;nbsp;&lt;BR /&gt;Each slicer has been created using the preview feature - Field Parameters - and each slicer may contain 4 or more measures/selections in each.&lt;BR /&gt;&lt;BR /&gt;When the user selects a measure within the slicer, it is then added to the line chart.&lt;/P&gt;&lt;P&gt;This allows the user to see multiple measures on one chart.&lt;/P&gt;&lt;P&gt;When the user does not pick a measure from the slicer, Power BI defaults to showing all the measures instead of none.&lt;BR /&gt;&lt;BR /&gt;I made an attempt to prevent this by making the measure below, however, it blocked all data appearing on the chart, even ones from the slicers that had a selection.&lt;BR /&gt;For more context:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slicers:&lt;/P&gt;&lt;P&gt;Region&lt;/P&gt;&lt;P&gt;Open year&lt;/P&gt;&lt;P&gt;product&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Chart:&lt;BR /&gt;Measures missed payments.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For the region, I made this measure and added it as a new data field to the chart&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;regionfilt= &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Region&lt;/SPAN&gt;&lt;SPAN&gt;[Region Fields]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The chart applies this as logic when IS 1.&lt;BR /&gt;However, when no region is chosen (so the user is not interested in charting a region) the chart goes blank, even if the user selects a product to chart.&lt;BR /&gt;&lt;BR /&gt;Is there a way to make that region measure only apply to the region selections?&lt;BR /&gt;The solution will be to apply this logic to the other field slicers - product and open year - so that the user can ignore those too if they -for example - only want to focus on region.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2022 11:01:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2846230#M91086</guid>
      <dc:creator>leeham</dc:creator>
      <dc:date>2022-10-17T11:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple slicers. If one has no selection - don't show the data on the dynamic chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2848542#M91215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451976" data-lia-user-login="leeham" class="lia-mention lia-mention-user"&gt;leeham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?&lt;/P&gt;
&lt;P&gt;Please provide me with more details about your data or share me with your pbix file after&amp;nbsp;&lt;STRONG&gt;removing sensitive data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=orVyE0%2FImc2MEFUqXtCveK0uf33594f67ZDxb8ybuNI%3D&amp;amp;reserved=0" target="_blank"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-jianboli%40microsoft.com%7Ca7ce12be0f454896a61208da8034281b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637963258750159993%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=XocTq9o6TjxbxJqTak20E3kKp7q5HxKTNZef7xESMV0%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&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;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 08:50:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2848542#M91215</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-10-18T08:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple slicers. If one has no selection - don't show the data on the dynamic chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2848556#M91217</link>
      <description>&lt;P&gt;Will do.&lt;BR /&gt;I'll try finding sample data as i can easily recreate the problem (do you know of a good sample set?).&lt;BR /&gt;I think that'll be easier to share and hopefully will be allowed to pass the work firewall/restrictions.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 08:55:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mutiple-slicers-If-one-has-no-selection-don-t-show-the-data-on/m-p/2848556#M91217</guid>
      <dc:creator>leeham</dc:creator>
      <dc:date>2022-10-18T08:55:27Z</dc:date>
    </item>
  </channel>
</rss>

