<?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 To write a measure in Power Bi in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1443672#M26192</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am migrating qlikview to Power Bi. I have following expression in qliview that needs to be converted in Power BI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000) &amp;nbsp; How to write above expression in Power BI.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 03:48:33 GMT</pubDate>
    <dc:creator>sakshikaul</dc:creator>
    <dc:date>2020-10-20T03:48:33Z</dc:date>
    <item>
      <title>To write a measure in Power Bi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1443672#M26192</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am migrating qlikview to Power Bi. I have following expression in qliview that needs to be converted in Power BI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000) &amp;nbsp; How to write above expression in Power BI.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 03:48:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1443672#M26192</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2020-10-20T03:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: To write a measure in Power Bi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444206#M26194</link>
      <description>&lt;P&gt;can you tell me .what exactly output this function will give you so it will help me to understand .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i understood is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((SUM(IF(Mode_group_3 = 'AirImport',[ChglWt(KG)],0)))/1000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when mode group 3 = Airimport then sum chglwt(kg) then divide it from 1000 . if its correct then&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can use below formula&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;measure = calculate(sum([ChglWt(KG)]),Mode_group_3 = 'AirImport")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or you can use this as well if you want to divide with 1000 then use below formula&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;measure = calculate(divide(sum([ChglWt(KG)]),1000,0),Mode_group_3 = 'AirImport")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this will give you sum of&amp;nbsp;[ChglWt(KG)] then divide it from 1000 .&lt;/SPAN&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:35:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444206#M26194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-20T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: To write a measure in Power Bi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444313#M26196</link>
      <description>&lt;P&gt;This is fgiving me following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/379764i3F8B38A3385E4A44/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 09:09:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444313#M26196</guid>
      <dc:creator>sakshikaul</dc:creator>
      <dc:date>2020-10-20T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: To write a measure in Power Bi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444501#M26197</link>
      <description>&lt;P&gt;you Need to remove extra bracket from the formula and kindly use " " excat same field from data in " " (which you want to filter).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 10:09:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/To-write-a-measure-in-Power-Bi/m-p/1444501#M26197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-20T10:09:02Z</dc:date>
    </item>
  </channel>
</rss>

