<?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: Creating a Measure by using a fixed value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125317#M16618</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82327" data-lia-user-login="ryan_mayu" class="lia-mention lia-mention-user"&gt;ryan_mayu&lt;/a&gt;I have the below and i need to have the (Total of Clicks / Total of Impressions) *100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot use the calculated fields as it takes the average instead of sum and then divide.&amp;nbsp; For the below, the answer would be 0.42%. But obviously, I have larger dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 07:29:08 GMT</pubDate>
    <dc:creator>agius</dc:creator>
    <dc:date>2020-05-28T07:29:08Z</dc:date>
    <item>
      <title>Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1123836#M16594</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a simple measure but cannot seem to make it work. I need to divide 2 columns and then multiply the answer by 100. So it looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CTR = (Clicks / Impressions) * 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I managed this much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CTR = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(DIVIDE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SUM('Adform - Daily'[Clicks]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SUM('Adform - Daily'[Impressions)]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 May 2020 07:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1123836#M16594</guid>
      <dc:creator>agius</dc:creator>
      <dc:date>2020-05-28T07:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1123857#M16595</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="234024" data-lia-user-login="agius" class="lia-mention lia-mention-user"&gt;agius&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what is the problem exactly with the measure that you put together? You just need to multiply by 1000 but other than that it looks fine, given the info provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 16:18:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1123857#M16595</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-05-27T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125072#M16614</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="234024" data-lia-user-login="agius" class="lia-mention lia-mention-user"&gt;agius&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Did you get an error message or not get the expected result?&lt;/P&gt;&lt;P&gt;The brackets in your formula is not correct. Is that a typo error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CTR =&lt;BR /&gt;(DIVIDE(&lt;BR /&gt;SUM('Adform - Daily'[Clicks]),&lt;BR /&gt;SUM('Adform - Daily'[Impressions&lt;FONT color="#FF0000"&gt;)]&lt;/FONT&gt;))&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:50:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125072#M16614</guid>
      <dc:creator>ryan_mayu</dc:creator>
      <dc:date>2020-05-28T05:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125201#M16615</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82327" data-lia-user-login="ryan_mayu" class="lia-mention lia-mention-user"&gt;ryan_mayu&lt;/a&gt;&amp;nbsp;Your suggestion helped! However, I still need to multiply by 100. I do not receive any error but I do not have the expected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;Now, I have this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CTR =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(DIVIDE(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUM('Adform - Daily'[Clicks]),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUM('Adform - Daily'&lt;FONT color="#000000"&gt;[Impressions&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;)]&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;) *100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it doesn't work. Any suggestions? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:29:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125201#M16615</guid>
      <dc:creator>agius</dc:creator>
      <dc:date>2020-05-28T07:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125251#M16616</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="234024" data-lia-user-login="agius" class="lia-mention lia-mention-user"&gt;agius&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide some screenshots or demo file?&lt;/P&gt;&lt;P&gt;What's your expected results and what result you are getting now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and BR&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:07:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125251#M16616</guid>
      <dc:creator>ryan_mayu</dc:creator>
      <dc:date>2020-05-28T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125317#M16618</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82327" data-lia-user-login="ryan_mayu" class="lia-mention lia-mention-user"&gt;ryan_mayu&lt;/a&gt;I have the below and i need to have the (Total of Clicks / Total of Impressions) *100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot use the calculated fields as it takes the average instead of sum and then divide.&amp;nbsp; For the below, the answer would be 0.42%. But obviously, I have larger dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:29:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125317#M16618</guid>
      <dc:creator>agius</dc:creator>
      <dc:date>2020-05-28T07:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125428#M16620</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="234024" data-lia-user-login="agius" class="lia-mention lia-mention-user"&gt;agius&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I figured out your issue.&lt;/P&gt;&lt;P&gt;If you want to change the decimal number to percentage, you can't multiple 100 in the coding. That will make the result be larger.&lt;/P&gt;&lt;P&gt;You need to choose the measure and change to percentage format.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:56:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125428#M16620</guid>
      <dc:creator>ryan_mayu</dc:creator>
      <dc:date>2020-05-28T07:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125541#M16623</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82327" data-lia-user-login="ryan_mayu" class="lia-mention lia-mention-user"&gt;ryan_mayu&lt;/a&gt;&amp;nbsp;This is great! Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solves this issue. But I have similar situations where i need to multiply by a fixed number. I find it hard to believe how it is not possible to multiply by a fixed number. Maybe, I can just add a column with this fixed value and multiply my answer to it. I guess that might work. If you know of any easier solution please let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:28:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125541#M16623</guid>
      <dc:creator>agius</dc:creator>
      <dc:date>2020-05-28T08:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Measure by using a fixed value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125548#M16624</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="234024" data-lia-user-login="agius" class="lia-mention lia-mention-user"&gt;agius&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide the screenshots or demo file. Let me know what the expected result as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and BR&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:30:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Measure-by-using-a-fixed-value/m-p/1125548#M16624</guid>
      <dc:creator>ryan_mayu</dc:creator>
      <dc:date>2020-05-28T08:30:43Z</dc:date>
    </item>
  </channel>
</rss>

