<?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 calculate with measure and filter in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2181985#M21670</link>
    <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have two measures, one measure gives me appropriate results, one measure and the number of inappropriate results. In the table, I have a value of appropriate and inappropriate value. How can I make one measure that will be included appropriately and inappropriately according to the selected value in the column?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 06:40:08 GMT</pubDate>
    <dc:creator>LeaRupnik</dc:creator>
    <dc:date>2021-11-10T06:40:08Z</dc:date>
    <item>
      <title>calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2181985#M21670</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have two measures, one measure gives me appropriate results, one measure and the number of inappropriate results. In the table, I have a value of appropriate and inappropriate value. How can I make one measure that will be included appropriately and inappropriately according to the selected value in the column?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 06:40:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2181985#M21670</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-11-10T06:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182116#M21672</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 07:51:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182116#M21672</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-11-10T07:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182668#M21677</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I did the installation and i have only shown this. Please help&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Nov 2021 10:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182668#M21677</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-11-10T10:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182692#M21678</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;test&lt;/TD&gt;&lt;TD&gt;test2&lt;/TD&gt;&lt;TD&gt;rezultat skupni&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;uspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;uspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;neuspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;neuspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;neuspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ok&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;neuspesno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;test1_neuspesni = 3&lt;/TD&gt;&lt;TD&gt;test1_uspesni = 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;test2_neuspesni = 2&lt;/TD&gt;&lt;TD&gt;test2_uspesni = 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;test1 nov = if(rezultat skupni = uspesno;&amp;nbsp; 3, 3)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;test2 nov = if(rezultat skupni = uspesno;&amp;nbsp; 4, 2)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;test1 nov and test2 nov&amp;nbsp;are strangers&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Lea&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 11:03:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2182692#M21678</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-11-10T11:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186671#M21723</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your description, you can create the following measure and use the Edit interaction function to present your requirements:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result = IF(MAX('Table'[test])==MAX('Table'[test2]),"uspesno","neuspesno")&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;M1 = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[test]))

M2 = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[test2]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 06:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186671#M21723</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2021-11-12T06:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186789#M21724</link>
      <description>&lt;P&gt;&lt;SPAN&gt;if I select "unsuccessful" in the result together, and I would compile a table with a new column where M1 = 3 in M2 = 2 can be written&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can I attach the attachment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thx&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186789#M21724</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-11-12T07:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186803#M21725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure is valued according to the filtering context, and it is not possible to combine multiple measures on the same column. It is better to see measure as a separate field to form a table visual.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:41:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2186803#M21725</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2021-11-12T07:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2187265#M21730</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;i nead like this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 10:55:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2187265#M21730</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-11-12T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculate with measure and filter</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2192107#M21756</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to my tests, it is possible to customize a filter. Then modify the following MEASURE formula:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;M1 = 
VAR a =
    SELECTEDVALUE ( Table_slicer[Type] )
RETURN
    SWITCH (
        a,
        "x",
            CALCULATE (
                COUNTROWS ( 'Table' ),
                FILTER (
                    ALL ( 'Table' ),
                    'Table'[test] = a
                        &amp;amp;&amp;amp; 'Table'[test] = MAX ( 'Table'[test] )
                )
            ),
        "ok",
            CALCULATE (
                COUNTROWS ( 'Table' ),
                FILTER (
                    ALL ( 'Table' ),
                    'Table'[test] = a
                        &amp;amp;&amp;amp; 'Table'[test] = MAX ( 'Table'[test] )
                )
            )
    )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;M2 = 
VAR a =
    SELECTEDVALUE ( Table_slicer[Type] )
RETURN
    SWITCH (
        a,
        "x",
            CALCULATE (
                COUNTROWS ( 'Table' ),
                FILTER (
                    ALL ( 'Table' ),
                    'Table'[test2] = a
                        &amp;amp;&amp;amp; 'Table'[test2] = MAX ( 'Table'[test2] )
                )
            ),
        "ok",
            CALCULATE (
                COUNTROWS ( 'Table' ),
                FILTER (
                    ALL ( 'Table' ),
                    'Table'[test2] = a
                        &amp;amp;&amp;amp; 'Table'[test2] = MAX ( 'Table'[test2] )
                )
            )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 09:32:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-with-measure-and-filter/m-p/2192107#M21756</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2021-11-16T09:32:41Z</dc:date>
    </item>
  </channel>
</rss>

