<?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: change calculating with the selected data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/change-calculating-with-the-selected-data/m-p/29942#M873</link>
    <description>&lt;P&gt;for other, that has problem with measure&lt;/P&gt;&lt;PRE&gt;MPop = sum(Population[Population])

MTotalPop = CALCULATE(SUMX('Population';'Population'[Population]);ALLSELECTED('Population'))

MPopCumul1 = CALCULATE('Population'[MPop];FILTER(ALLselected('Population');'Population'[MPop]&amp;gt;=MAXx('Population';'Population'[MPop])))

and Measure Share
MShare = DIVIDE('Population'[MPop];'Population'[MTotalPop]) 

MShareCumul1 = CALCULATE('Population'[MPopCumul1]/'Population'[MTotalPop])&lt;/PRE&gt;&lt;P&gt;good luck&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2016 13:58:04 GMT</pubDate>
    <dc:creator>bi_team_ru2</dc:creator>
    <dc:date>2016-04-19T13:58:04Z</dc:date>
    <item>
      <title>change calculating with the selected data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/change-calculating-with-the-selected-data/m-p/29030#M816</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;some times ago i`m need calculate the measure&lt;/P&gt;&lt;P&gt;"share on cumulative total"(4-th columns on pictures)&lt;/P&gt;&lt;P&gt;then i`m don`t selected anyone, all worked correctly (basic share=1), but on selection any foreign filter, basic share calculated incorrectly (less then 1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;for the correct accounts, i need change&amp;nbsp;formula`s of account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how me , using IF,&amp;nbsp;&lt;BR /&gt;input &amp;nbsp;all variants&amp;nbsp;in formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&lt;img&gt;﻿&lt;/img&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 08:05:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/change-calculating-with-the-selected-data/m-p/29030#M816</guid>
      <dc:creator>bi_team_ru2</dc:creator>
      <dc:date>2016-04-13T08:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: change calculating with the selected data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/change-calculating-with-the-selected-data/m-p/29942#M873</link>
      <description>&lt;P&gt;for other, that has problem with measure&lt;/P&gt;&lt;PRE&gt;MPop = sum(Population[Population])

MTotalPop = CALCULATE(SUMX('Population';'Population'[Population]);ALLSELECTED('Population'))

MPopCumul1 = CALCULATE('Population'[MPop];FILTER(ALLselected('Population');'Population'[MPop]&amp;gt;=MAXx('Population';'Population'[MPop])))

and Measure Share
MShare = DIVIDE('Population'[MPop];'Population'[MTotalPop]) 

MShareCumul1 = CALCULATE('Population'[MPopCumul1]/'Population'[MTotalPop])&lt;/PRE&gt;&lt;P&gt;good luck&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 13:58:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/change-calculating-with-the-selected-data/m-p/29942#M873</guid>
      <dc:creator>bi_team_ru2</dc:creator>
      <dc:date>2016-04-19T13:58:04Z</dc:date>
    </item>
  </channel>
</rss>

