<?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 Remove filters from text values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-filters-from-text-values/m-p/3117531#M110429</link>
    <description>&lt;P&gt;I need to display the name of an organization in my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a custom-made filter to refer to the previous week of the year.&amp;nbsp;&lt;SPAN&gt;However, whenever I use this filter, the organization name returns "(BLANK)" if there is no data for the week. I want the name of the organization to display regardless of whether or not that organization has data during that week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using ISBLANK() functions with no avail. I cannot use the CALCULATE( REMOVEFILTERS()) command since the returning data is text. Are there any suggestions on how to remove the week filter from this organization name text value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom week filter:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var weekref = if(WEEKDAY(NOW(),1) &amp;lt;= 5, WEEKNUM(NOW()) - 1, WEEKNUM(NOW())-1) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var class = if('Date'[year_key] = YEAR(NOW()) &amp;amp;&amp;amp; 'Date'[WeekOfTheYear] = weekref, "PASS", "FAIL")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN class&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 07 Mar 2023 23:16:36 GMT</pubDate>
    <dc:creator>ktg2019</dc:creator>
    <dc:date>2023-03-07T23:16:36Z</dc:date>
    <item>
      <title>Remove filters from text values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-filters-from-text-values/m-p/3117531#M110429</link>
      <description>&lt;P&gt;I need to display the name of an organization in my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a custom-made filter to refer to the previous week of the year.&amp;nbsp;&lt;SPAN&gt;However, whenever I use this filter, the organization name returns "(BLANK)" if there is no data for the week. I want the name of the organization to display regardless of whether or not that organization has data during that week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using ISBLANK() functions with no avail. I cannot use the CALCULATE( REMOVEFILTERS()) command since the returning data is text. Are there any suggestions on how to remove the week filter from this organization name text value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom week filter:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var weekref = if(WEEKDAY(NOW(),1) &amp;lt;= 5, WEEKNUM(NOW()) - 1, WEEKNUM(NOW())-1) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var class = if('Date'[year_key] = YEAR(NOW()) &amp;amp;&amp;amp; 'Date'[WeekOfTheYear] = weekref, "PASS", "FAIL")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN class&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Mar 2023 23:16:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-filters-from-text-values/m-p/3117531#M110429</guid>
      <dc:creator>ktg2019</dc:creator>
      <dc:date>2023-03-07T23:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove filters from text values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-filters-from-text-values/m-p/3117900#M110450</link>
      <description>&lt;P&gt;Can you provide dax from your Organization measure?&lt;BR /&gt;The above measure is returning pass-fail only an I don't see any issue with it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 03:35:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-filters-from-text-values/m-p/3117900#M110450</guid>
      <dc:creator>RaocoSolutions</dc:creator>
      <dc:date>2023-03-08T03:35:31Z</dc:date>
    </item>
  </channel>
</rss>

