<?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: Conditional Selected value columns in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-Selected-value-columns/m-p/3732813#M49939</link>
    <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi @Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 07:56:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-29T07:56:39Z</dc:date>
    <item>
      <title>Conditional Selected value columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-Selected-value-columns/m-p/3730934#M49921</link>
      <description>&lt;P&gt;I am working on a report&amp;nbsp; which has to display a projected value column for this year and&amp;nbsp; no Projected value column for the previous years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have used&amp;nbsp; Selected values to be able to derive the columns that need to be be displayed, I also have a measure called&amp;nbsp; year indicator. I want the&amp;nbsp; column&amp;nbsp; Projected usage to display when&amp;nbsp; year indicator is 1( ie current year) and&amp;nbsp; not display when the&amp;nbsp; indicator is 0( previous years).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Display current year =&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;"Display Subscription"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;NAMEOF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_PBI_Overages'&lt;/SPAN&gt;&lt;SPAN&gt;[Display Subscription]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;"Display Usage"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;NAMEOF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_PBI_Overages'&lt;/SPAN&gt;&lt;SPAN&gt;[Display Usage]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;"Display Available"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;NAMEOF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_PBI_Overages'&lt;/SPAN&gt;&lt;SPAN&gt;[Display Available]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;"Display 12 Month Projection"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;NAMEOF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'vw_PBI_Overages'&lt;/SPAN&gt;&lt;SPAN&gt;[Display 12 Month Projection]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is my code below which gets me the 4 columns.&amp;nbsp; I&amp;nbsp; need to be able to&amp;nbsp; display only first 3 columns when&amp;nbsp; Year indicator is not 1.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:00:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-Selected-value-columns/m-p/3730934#M49921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-28T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Selected value columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Conditional-Selected-value-columns/m-p/3732813#M49939</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi @Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 07:56:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Conditional-Selected-value-columns/m-p/3732813#M49939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-29T07:56:39Z</dc:date>
    </item>
  </channel>
</rss>

