<?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 Remove rows based on condition in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329697#M841237</link>
    <description>&lt;P&gt;Hi, I need to calculate the average unit selling price (AUSP) based on the condition below. Sample pbix&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1VCF7U9-LahhQ6i_i31w5LKZ_YsH3mfBx/view?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the total revenue of last year = 0 or total revenue of current year = 0, keep the rows, else remove them.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When Fiscal Year = FY2022 and Quarter = Q1 are selected, remove all rows which do not have the total revenue of Q1 FY2021 = 0 or total revenue of Q1 FY2022 = 0.&lt;/LI&gt;&lt;LI&gt;When Fiscal Year = FY 2022 is selected, remove&amp;nbsp;all rows which do not have the total revenue of FY2021 = 0 or total revenue of FY2022 = 0.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How to create a measure to calculate AUSP based on the condition above?&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>Thu, 10 Feb 2022 03:28:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-10T03:28:04Z</dc:date>
    <item>
      <title>Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329697#M841237</link>
      <description>&lt;P&gt;Hi, I need to calculate the average unit selling price (AUSP) based on the condition below. Sample pbix&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1VCF7U9-LahhQ6i_i31w5LKZ_YsH3mfBx/view?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the total revenue of last year = 0 or total revenue of current year = 0, keep the rows, else remove them.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When Fiscal Year = FY2022 and Quarter = Q1 are selected, remove all rows which do not have the total revenue of Q1 FY2021 = 0 or total revenue of Q1 FY2022 = 0.&lt;/LI&gt;&lt;LI&gt;When Fiscal Year = FY 2022 is selected, remove&amp;nbsp;all rows which do not have the total revenue of FY2021 = 0 or total revenue of FY2022 = 0.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How to create a measure to calculate AUSP based on the condition above?&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>Thu, 10 Feb 2022 03:28:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329697#M841237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T03:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2324596#M850818</link>
      <description>&lt;P&gt;Hi, there are some conditions I would exclude from the sum. Sample &lt;A href="https://drive.google.com/file/d/1iBvKfwtzg1S9JIIx3DTlklEJNdm0a1qs/view?usp=sharing" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If the current monthly revenue for same contract number is the same as last month, then exclude it from the sum. For example, Contract Number 880024048, the revenue for 2019-10, 2019-11 &amp;amp; 2019-12 is same as 2018-10, 2018-11 &amp;amp; 2018-12. The sum of revenue for FY20 should be 0 and revenue last year = 3658.&lt;/LI&gt;&lt;LI&gt;If the contract start date of a contract number is the next day of a previous contract end date with the same product and same amount, exclude them from the sum. For example, Product B, contract number 880074407 has contract start date the next dat from contract end date of 880049783 and both contract have same amount, then exclude them from the calculation. Only sum the revenue if there is no revenue last year or the revenue last year is not the same as this year.&lt;/LI&gt;&lt;/OL&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>Tue, 08 Feb 2022 05:50:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2324596#M850818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-08T05:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329718#M841241</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , With help date table and time intellignece you can measure like these for thise qtr and last year same qtr (-4)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(('Date'[Date])))&lt;BR /&gt;Last QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-1,QUARTER)))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Qtr Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(ENDOFQUARTER('Date'[Date])))&lt;/P&gt;
&lt;P&gt;Last QUARTER Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD( ENDOFQUARTER(dateadd('Date'[Date],-1,QUARTER))))&lt;BR /&gt;Last QUARTER Sales = CALCULATE(SUM(Sales[Sales Amount]),PREVIOUSQUARTER(('Date'[Date])))&lt;/P&gt;
&lt;P&gt;Last to last QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-2,QUARTER)))&lt;BR /&gt;Next QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],1,QUARTER)))&lt;BR /&gt;Last year same QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-1,Year)))&lt;BR /&gt;Last year same QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(ENDOFQUARTER(dateadd('Date'[Date],-1,Year))))&lt;BR /&gt;trailing QTR = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,QUARTER))&lt;BR /&gt;trailing 4 QTR = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-4,QUARTER))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a measure like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=&lt;/P&gt;
&lt;P&gt;if(isblank([QTD Sales]) || isblank([Last year same QTD Sales]) , 1,blank() )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(coalesce([QTD Sales],0) =0 || coalesce([Last year same QTD Sales],0) =0&amp;nbsp; , 1, blank() )&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 03:35:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329718#M841241</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-10T03:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329779#M841260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;, i tried to create a measure and filter to 1 but it doesn't work. How to modify the measure?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 04:28:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329779#M841260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T04:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2332931#M850819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this is a challenge to solve it, I'll need some time to think about it. Of course, others will help you also.&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;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, 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>Fri, 11 Feb 2022 09:30:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2332931#M850819</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-02-11T09:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2333272#M850820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296930" data-lia-user-login="v-xiaotang" class="lia-mention lia-mention-user"&gt;v-xiaotang&lt;/a&gt;&amp;nbsp;, thank you so much! I have posted a similar case with simplified condition. Is that possible to solve? If yes, then this is not needed. Thanks again!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329718#M841241" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2329718#M841241&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 11:11:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2333272#M850820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-11T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2336382#M843119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Hi @Username&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I&lt;SPAN&gt; have try the formula. It works well. Please ensure your expected output.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Create a measure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(ISBLANK([Revenue Current Year])||ISBLANK([Revenue Last Year])||[Revenue Current Year]=1||[Revenue Last Year]=1,1,BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;The filter the measure.&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;&lt;SPAN&gt;If I have misunderstood your meaning, please provide contact me with your desired output.&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;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&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;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:16:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2336382#M843119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-14T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2336687#M843204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, thank you so much for your help on this but that was not my expected output.&lt;/P&gt;&lt;P&gt;I would like to remove all rows which is not highlighted in yellow. You may see those highlighted rows/contracts, they have blank/zero total revenue either in FY2021 or FY2022. I want to calculate the average unit selling price (AUSP) in the top table by removing those not highlighted rows. The expected output is displayed in red box.&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, 14 Feb 2022 10:31:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2336687#M843204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-14T10:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2339126#M843944</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 3=
SUMX (
    FILTER (
        ALLSELECTED ( 'Append Table' ),
        'Append Table'[Fis] = SELECTEDVALUE ( 'Calendar'[Fiscal Year] )
            &amp;amp;&amp;amp; 'Append Table'[Contract Number]
                = SELECTEDVALUE ( 'Append Table'[Contract Number] )
    ),
    [Revenue Current Year]
)
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = IF(ISBLANK([Measure 3]),1,BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;Then filter the data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then Create measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;min_ =
CALCULATE (
    DISTINCTCOUNT ( 'Append Table'[YearMonth] ),
    FILTER (
        ALLSELECTED ( 'Append Table' ),
        'Append Table'[Contract Number]
            = SELECTEDVALUE ( 'Append Table'[Contract Number] )
            &amp;amp;&amp;amp; 'Append Table'[Fis] = SELECTEDVALUE ( 'Calendar'[Fiscal Year] )
    )
)
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;next_count =
CALCULATE (
    DISTINCTCOUNT ( 'Append Table'[YearMonth] ),
    FILTER (
        ALLSELECTED ( 'Append Table' ),
        'Append Table'[Contract Number]
            = SELECTEDVALUE ( 'Append Table'[Contract Number] )
            &amp;amp;&amp;amp; RIGHT ( 'Append Table'[Fis], 4 ) + 0
                = RIGHT ( SELECTEDVALUE ( 'Calendar'[Fiscal Year] ), 4 ) + 1
    )
)
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;last_count =
CALCULATE (
    DISTINCTCOUNT ( 'Append Table'[YearMonth] ),
    FILTER (
        ALLSELECTED ( 'Append Table' ),
        'Append Table'[Contract Number]
            = SELECTEDVALUE ( 'Append Table'[Contract Number] )
            &amp;amp;&amp;amp; RIGHT ( 'Append Table'[Fis], 4 ) - 0
                = RIGHT ( SELECTEDVALUE ( 'Calendar'[Fiscal Year] ), 4 ) - 1
    )
)
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Current year =
VAR result1_ =
    SUMX (
        FILTER (
            ALLSELECTED ( 'Append Table' ),
            [min_] = 3
                &amp;amp;&amp;amp; 'Append Table'[next_count] = BLANK ()
                &amp;amp;&amp;amp; 'Append Table'[Fis] = SELECTEDVALUE ( 'Calendar'[Fiscal Year] )
        ),
        [Revenue Current Year]
    )
VAR result2_ =
    SUMX (
        FILTER (
            ALLSELECTED ( 'Append Table' ),
            'Append Table'[next_count] = BLANK ()
                &amp;amp;&amp;amp; 'Append Table'[last_count] = 3
                &amp;amp;&amp;amp; 'Append Table'[Fis] = SELECTEDVALUE ( 'Calendar'[Fiscal Year] )
        ),
        [Revenue Current Year]
    )
RETURN
    IF ( ISBLANK ( result2_ ), result1_, result2_ )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If I have misunderstood your meaning, please provide contact me with your desired output.&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;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&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;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 09:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2339126#M843944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-15T09:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340737#M844410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, Thank you so much for the solution. The table below seems correct but the "Current year" measure for FY2022 is incorrect. After removing the unecessary rows, the revenue for FY2021 = 12097 is correct but FY2022 "Current year" figure should show up as 12315.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 23:57:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340737#M844410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-15T23:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340812#M844430</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you have solve your problem, please share your way and mark your answer as the answer so it will be easier to search and be able to help more people.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&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;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 01:13:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340812#M844430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T01:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340957#M844471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, I haven't solve it. I want to sum the revenue after removing those rows and show it in the top table. How to get it?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 02:51:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2340957#M844471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T02:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341072#M844508</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please&amp;nbsp;modify this formula ：Current Year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Current year =
VAR result1_ =
    SUMX (
        FILTER (
            ALLSELECTED ( 'Append Table' ),
            'Append Table'[next_count] = BLANK ()
                &amp;amp;&amp;amp; 'Append Table'[last_count] = BLANK ()
                &amp;amp;&amp;amp; [min_] = 3
                &amp;amp;&amp;amp; 'Append Table'[Fis] = SELECTEDVALUE ( 'Calendar'[Fiscal Year] )
        ),
        [Revenue Current Year]
    )
RETURN
    result1_
&lt;/LI-CODE&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;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&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;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 04:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341072#M844508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T04:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341310#M844584</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _ Polly&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;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 06:40:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341310#M844584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T06:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341314#M844586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, how to fix the "Current year" and "Last year" measures if only one Fiscal Year is selected? The result for "Current year" and "Last year" changed when FY2020 is not selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ultimate goal is for user to select one Fiscal Year to see the current year and last year result. Here is the &lt;A href="https://drive.google.com/file/d/1DBgdLTuk36ecXEPuVaVwX-NNxf4OER4J/view?usp=sharing" target="_self"&gt;sample&lt;/A&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;</description>
      <pubDate>Wed, 16 Feb 2022 06:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341314#M844586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341398#M844608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, I am sorry that I am not sure which part are you referring to for your question "Does that make sense?".&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I would like to have the values in yellow box to be the same as red box. Would it be possible to do so?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://drive.google.com/file/d/1DBgdLTuk36ecXEPuVaVwX-NNxf4OER4J/view?usp=sharing" target="_self" rel="nofollow noopener noreferrer"&gt;sample&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:20:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2341398#M844608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T07:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2355167#M850821</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply. We will check that link later. If this post is repeated or no longer needed for discussion, to&amp;nbsp;help other users find posts more accurately, could you please delete it? Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 07:37:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2355167#M850821</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-02-23T07:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2355456#M850822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296930" data-lia-user-login="v-xiaotang" class="lia-mention lia-mention-user"&gt;v-xiaotang&lt;/a&gt;&amp;nbsp;, I wanted to delete this post but there is no "Delete" selection. May I know how to delete it?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:19:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2355456#M850822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-23T09:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows based on condition</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2363958#M850823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that &lt;SPAN&gt; another similar post of yours&amp;nbsp;&lt;/SPAN&gt;has been resolved. This post will be merged with it later. Thanks for your contribution to improve Power BI.&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, 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>Mon, 28 Feb 2022 08:13:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Remove-rows-based-on-condition/m-p/2363958#M850823</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-02-28T08:13:17Z</dc:date>
    </item>
  </channel>
</rss>

