<?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 Return Same Value Using Divide in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201590#M116404</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you're doing well. As the images below, I want to return the same value if the column "TipoMultiplicacao" is "EXTERNA" as an alternate result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell is: If "TipoMultiplicacao" is "INTERNA", divide; if "EXTERNA", don't divide and return the same value"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX I'm using:&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;&lt;P&gt;What I want (in red)&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;&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2023 18:10:43 GMT</pubDate>
    <dc:creator>weakneee</dc:creator>
    <dc:date>2023-04-23T18:10:43Z</dc:date>
    <item>
      <title>Return Same Value Using Divide</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201590#M116404</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you're doing well. As the images below, I want to return the same value if the column "TipoMultiplicacao" is "EXTERNA" as an alternate result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell is: If "TipoMultiplicacao" is "INTERNA", divide; if "EXTERNA", don't divide and return the same value"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX I'm using:&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;&lt;P&gt;What I want (in red)&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;&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 18:10:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201590#M116404</guid>
      <dc:creator>weakneee</dc:creator>
      <dc:date>2023-04-23T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Return Same Value Using Divide</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201593#M116406</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CustoAula CC =
IF (
    ReferencialTreinamentos[TipoMultiplicacao] = "Interna",
    DIVIDE (
        ReferencialTreinamentos[Custo],
        ReferencialTreinamentos[NumeroInteriroHoras]
    ),
    ReferencialTreinamentos[Custo]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 18:22:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201593#M116406</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-04-23T18:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Return Same Value Using Divide</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201632#M116414</link>
      <description>&lt;P&gt;It worked perfectly!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so munch, Jihwan!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 20:03:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Same-Value-Using-Divide/m-p/3201632#M116414</guid>
      <dc:creator>weakneee</dc:creator>
      <dc:date>2023-04-23T20:03:22Z</dc:date>
    </item>
  </channel>
</rss>

