<?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: Help me create Calculated Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554818#M72470</link>
    <description>&lt;P&gt;THANKS So much !&lt;BR /&gt;Now is there any way for me to assign these values to specific texts, if I have a character set and want to filter a part of the text of the line does it also work?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2022 09:03:35 GMT</pubDate>
    <dc:creator>FrankWoody</dc:creator>
    <dc:date>2022-06-02T09:03:35Z</dc:date>
    <item>
      <title>Help me create Calculated Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554777#M72457</link>
      <description>&lt;P&gt;I have a column containing items like A,B,C,D.&lt;BR /&gt;I would like to create a calculated column evaluating the following question: If the row of this column is equal to "A" then return 100%, If the row of this column is equal to "B" then return 85% ,&lt;BR /&gt;the row of this column is equal to "C" then return 65%, the row of this column is equal to "D" then return 50%. is it possible to do that ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 08:42:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554777#M72457</guid>
      <dc:creator>FrankWoody</dc:creator>
      <dc:date>2022-06-02T08:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help me create Calculated Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554798#M72462</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="396706" data-lia-user-login="FrankWoody" class="lia-mention lia-mention-user"&gt;FrankWoody&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Column = 
SWITCH(
	'Table'[Item Column],
	"A", 1,
	"B", 0.85,
	"C", 0.65,
	"D", 0.5
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And then, format this column as percentage&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/Contoso-by-SpartaBI/m-p/2449543" target="_blank" rel="noopener"&gt;&lt;FONT size="4" color="#0000EE"&gt;Showcase Report – Contoso By SpartaBI&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.linkedin.com/company/spartabi" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&lt;A href="https://www.facebook.com/SpartaBI" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.spartabi.com" target="_blank" rel="noopener"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 08:49:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554798#M72462</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-02T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help me create Calculated Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554818#M72470</link>
      <description>&lt;P&gt;THANKS So much !&lt;BR /&gt;Now is there any way for me to assign these values to specific texts, if I have a character set and want to filter a part of the text of the line does it also work?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 09:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554818#M72470</guid>
      <dc:creator>FrankWoody</dc:creator>
      <dc:date>2022-06-02T09:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help me create Calculated Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554930#M72485</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="396706" data-lia-user-login="FrankWoody" class="lia-mention lia-mention-user"&gt;FrankWoody&lt;/a&gt;&amp;nbsp;my pleasure.&amp;nbsp;&lt;BR /&gt;Sure you can, check out this function:&lt;BR /&gt;&lt;A href="https://dax.guide/containsstring/" target="_blank"&gt;https://dax.guide/containsstring/&lt;/A&gt;&lt;BR /&gt;You can also explore there related functions.&lt;BR /&gt;Don't forget to mark my previous respond as a solution for comunity visabilty.&lt;BR /&gt;&lt;BR /&gt;P.S. check out my showcase report:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543" target="_blank"&gt;https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543&lt;/A&gt;&lt;BR /&gt;Give it a thumbs up over there if you liked it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 09:43:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-me-create-Calculated-Column/m-p/2554930#M72485</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-02T09:43:37Z</dc:date>
    </item>
  </channel>
</rss>

