<?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: IF value column is blank return a string (HOW??) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948951#M10535</link>
    <description>&lt;P&gt;Because you're not able to have a single column contain mutiple types of data you need to ensure the output is of the same data type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know in some programs zeros can be displayed as a hyphens (-). However, I do not see this option within Power Bi. You could always treat these values as text, but then would lose functionality.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 13:34:15 GMT</pubDate>
    <dc:creator>AlexAlberga727</dc:creator>
    <dc:date>2020-02-26T13:34:15Z</dc:date>
    <item>
      <title>IF value column is blank return a string (HOW??)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948903#M10532</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column called clicks where i only have one value and otherwise i have blanks. I want a new column called click1 where if blank = "-" , if not blank then the value. But it doesn't seem to work because it can't combine string and values. But is I choose 0 instead of "-" it work. Do anyone have a solution for this?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:16:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948903#M10532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: IF value column is blank return a string (HOW??)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948920#M10533</link>
      <description>&lt;P&gt;Right, you would have to have your [Value] &amp;amp; "" in the first case and this would make it text so it would be compatible with a dash (-) character. But, now you have a text column and that may or may not be OK.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:23:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948920#M10533</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-02-26T13:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF value column is blank return a string (HOW??)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948932#M10534</link>
      <description>&lt;P&gt;So how would you suggest the code to be?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:26:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948932#M10534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T13:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: IF value column is blank return a string (HOW??)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948951#M10535</link>
      <description>&lt;P&gt;Because you're not able to have a single column contain mutiple types of data you need to ensure the output is of the same data type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know in some programs zeros can be displayed as a hyphens (-). However, I do not see this option within Power Bi. You could always treat these values as text, but then would lose functionality.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:34:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/IF-value-column-is-blank-return-a-string-HOW/m-p/948951#M10535</guid>
      <dc:creator>AlexAlberga727</dc:creator>
      <dc:date>2020-02-26T13:34:15Z</dc:date>
    </item>
  </channel>
</rss>

