<?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 Changing a calculated column (measure )as category with % symbol in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930457#M18070</link>
    <description>&lt;P&gt;In creating a SAS viya dashboard I want the following calculated column as a category with % symbol&lt;/P&gt;&lt;P&gt;'Graduated in 2 Years'n / 'Enrolled (Distinct Count)'n&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 17:50:30 GMT</pubDate>
    <dc:creator>Akhila1</dc:creator>
    <dc:date>2024-05-31T17:50:30Z</dc:date>
    <item>
      <title>Changing a calculated column (measure )as category with % symbol</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930457#M18070</link>
      <description>&lt;P&gt;In creating a SAS viya dashboard I want the following calculated column as a category with % symbol&lt;/P&gt;&lt;P&gt;'Graduated in 2 Years'n / 'Enrolled (Distinct Count)'n&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 17:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930457#M18070</guid>
      <dc:creator>Akhila1</dc:creator>
      <dc:date>2024-05-31T17:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a calculated column (measure )as category with % symbol</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930458#M18071</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can apply a Percent format to the numeric value, if you just want to display the % symbol.&amp;nbsp; (Change the data item properties in the Data pane.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really need the value to be a category value, you can use the Format() operator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Engine Size (L)'n&lt;/SPAN&gt; &lt;SPAN&gt;/&lt;/SPAN&gt; &lt;SPAN&gt;'Horsepower'n&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'PERCENT6.0'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;returns a category value.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let us know if that helps,&lt;/DIV&gt;
&lt;DIV&gt;Sam&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 18:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930458#M18071</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2024-05-31T18:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a calculated column (measure )as category with % symbol</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930460#M18072</link>
      <description>I really need the value to be a category value. Format( 'Graduated in 2 Years'n / 'Enrolled (Distinct Count)'n,'PERCENT6.0')I get an error. Type mismatch. expected type at this location is Aggregated measure, type of this item being applied is character. Operand can only be aggregated, but this operator does not support aggregation. Thank you,</description>
      <pubDate>Fri, 31 May 2024 18:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930460#M18072</guid>
      <dc:creator>Akhila1</dc:creator>
      <dc:date>2024-05-31T18:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a calculated column (measure )as category with % symbol</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930461#M18073</link>
      <description>&lt;P&gt;Oh, I see. The problem is the nested operations when you have an aggregated measure (Distinct Count) in the expression. I think the best workaround is to pre-calculate the distinct count as part of your data preparation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have the very latest version of VA (2024.05), you can work around this by calculating the distinct count as part of an expression-based parameter.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 18:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Changing-a-calculated-column-measure-as-category-with-symbol/m-p/930461#M18073</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2024-05-31T18:16:51Z</dc:date>
    </item>
  </channel>
</rss>

