<?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: Quick Measure and Slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3468050#M132382</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="628009" data-lia-user-login="FormworkFan" class="lia-mention lia-mention-user"&gt;FormworkFan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;True =
var _select=SELECTCOLUMNS('Combined Divison Report',"1",'Combined Divison Report'[Region])
var _column=CONCATENATEX(FILTER(ALL('Combined Divison Report'),'Combined Divison Report'[Region] in _select),'Combined Divison Report'[Region],",")
return
IF(
    CONTAINSSTRING(
        _column,"Canada") =TRUE(),
        SUMX(
            FILTER(ALL('Combined Divison Report'),
            'Combined Divison Report'[Region] in _select &amp;amp;&amp;amp; CONTAINSSTRING('Combined Divison Report'[Region],"Canada") =TRUE()),'Combined Divison Report'[42000 -Sales Revenue Amount]),0)&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 06:55:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-10T06:55:10Z</dc:date>
    <item>
      <title>Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465110#M132226</link>
      <description>&lt;P&gt;I'm trying to get my slicer to Filter out some Sales Revenue in Canadian dollors. My Goal is to to display any Sales outside of the local Currency.&amp;nbsp; I created a quick measure "Filter by Value", but I need to get a way to have this based on my Region Slicer.&amp;nbsp; screen shots and code is below.&amp;nbsp; Ideally when I check off Canada on the Slicer the vale of the Canadain Dollor box should be $0.00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can tell I'm no expert, but would appreiacte any feed back on this.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;</description>
      <pubDate>Sat, 07 Oct 2023 16:03:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465110#M132226</guid>
      <dc:creator>FormworkFan</dc:creator>
      <dc:date>2023-10-07T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465849#M132259</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="628009" data-lia-user-login="FormworkFan" class="lia-mention lia-mention-user"&gt;FormworkFan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;try below measure&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;canadian sales =&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if( selectedvalue('yourtable'[region])="canada",calculate( sum('combined division report'[420000 - sales revenue amount])),0.00)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did i answer your question? Mark my post as a solution which help other people to find&amp;nbsp; fast and easily.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 20:24:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465849#M132259</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-10-08T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465881#M132264</link>
      <description>&lt;P&gt;Thank you for the reply and help ont this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Kind of works when I only have that one Region "Canada" Selected on my slicer. If I have Multiple Regions selected including the Canada Region, the value is coming as $0.00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This result is kind of giving me the opposite of what I had at the start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I placed&amp;nbsp; some screen shots below and as an FYI I broke my Canada into two Regions (East and West). So Will need to add this into there some how. perhaps like an OR Statement, so if I select Eastern or Western or both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;yourtable'[region])="Eastern Canada"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Sun, 08 Oct 2023 21:37:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3465881#M132264</guid>
      <dc:creator>FormworkFan</dc:creator>
      <dc:date>2023-10-08T21:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3466118#M132278</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="628009" data-lia-user-login="FormworkFan" class="lia-mention lia-mention-user"&gt;FormworkFan&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="628009" data-lia-user-login="FormworkFan" class="lia-mention lia-mention-user"&gt;FormworkFan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;try below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if( selectedvalue('yourtable'[region])=CONTAINSSTRING(values(yourtable'[region]),"canada"),calculate( sum('combined division report'[420000 - sales revenue amount])),0.00)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;use only "canada" instead of "easteran canada"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:24:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3466118#M132278</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-10-09T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3466798#M132331</link>
      <description>&lt;P&gt;No Luck on that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 12:58:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3466798#M132331</guid>
      <dc:creator>FormworkFan</dc:creator>
      <dc:date>2023-10-09T12:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3468050#M132382</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="628009" data-lia-user-login="FormworkFan" class="lia-mention lia-mention-user"&gt;FormworkFan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;True =
var _select=SELECTCOLUMNS('Combined Divison Report',"1",'Combined Divison Report'[Region])
var _column=CONCATENATEX(FILTER(ALL('Combined Divison Report'),'Combined Divison Report'[Region] in _select),'Combined Divison Report'[Region],",")
return
IF(
    CONTAINSSTRING(
        _column,"Canada") =TRUE(),
        SUMX(
            FILTER(ALL('Combined Divison Report'),
            'Combined Divison Report'[Region] in _select &amp;amp;&amp;amp; CONTAINSSTRING('Combined Divison Report'[Region],"Canada") =TRUE()),'Combined Divison Report'[42000 -Sales Revenue Amount]),0)&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 06:55:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3468050#M132382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-10T06:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3477420#M132880</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This seems to be working as I need. I'm still playing around with it though.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 16:58:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3477420#M132880</guid>
      <dc:creator>FormworkFan</dc:creator>
      <dc:date>2023-10-15T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Measure and Slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3488480#M133508</link>
      <description>&lt;P&gt;Your Solution works, unitl I add a Date Slicer into my Report.&amp;nbsp; It is taking in all of the Data and will not filter by Date.&amp;nbsp; How can I get these new Measure to work with my Date Slicer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:38:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Quick-Measure-and-Slicers/m-p/3488480#M133508</guid>
      <dc:creator>FormworkFan</dc:creator>
      <dc:date>2023-10-20T19:38:16Z</dc:date>
    </item>
  </channel>
</rss>

