<?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: How to filter data by date and filter the rest of the visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-data-by-date-and-filter-the-rest-of-the-visual/m-p/3173733#M114490</link>
    <description>&lt;P&gt;Hello pipanebo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the error message, it looks like you have values in the TEMPO FURO column that aren't actually blanks, but instead are empty strings. For example, can you go into Power Query on your table and check that the value of the first row is actuall&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Cannot-convert-value-quot-of-type-Text-to-type-Integer/m-p/723941" target="_self"&gt;This other thread&lt;/A&gt; might be of use to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 12:05:39 GMT</pubDate>
    <dc:creator>Wilson_</dc:creator>
    <dc:date>2023-04-05T12:05:39Z</dc:date>
    <item>
      <title>How to filter data by date and filter the rest of the visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-data-by-date-and-filter-the-rest-of-the-visual/m-p/3172040#M114357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My database is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to filter some data by date, but when I choose different months the visual of some charts doesn't show up and I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to show average time of an activity in a column chart, as shown below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This average time is calculated like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Tempo médio de furação = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEA&lt;/SPAN&gt;&lt;SPAN&gt;(PLANILHA[TEMPO FURO]),PLANILHA[TEMPO FURO]&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Média Furo Valor =&lt;BR /&gt;VAR HOR = (HOUR([Tempo médio de furação]) + ([Inteiro tempo]*24))&lt;BR /&gt;VAR MINU = MINUTE([Tempo médio de furação])&lt;BR /&gt;VAR SEG = SECOND([Tempo médio de furação])&lt;BR /&gt;VAR H = FORMAT(HOR,"00")&lt;BR /&gt;VAR M = FORMAT(MINU,"00")&lt;BR /&gt;VAR S = FORMAT(SEG,"00")&lt;BR /&gt;Return&lt;BR /&gt;VALUE (H &amp;amp; M &amp;amp; S)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to filter this data by date (which I have a column associating all the data) I get the error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 14:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-data-by-date-and-filter-the-rest-of-the-visual/m-p/3172040#M114357</guid>
      <dc:creator>pipanebo</dc:creator>
      <dc:date>2023-04-04T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data by date and filter the rest of the visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-data-by-date-and-filter-the-rest-of-the-visual/m-p/3173733#M114490</link>
      <description>&lt;P&gt;Hello pipanebo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the error message, it looks like you have values in the TEMPO FURO column that aren't actually blanks, but instead are empty strings. For example, can you go into Power Query on your table and check that the value of the first row is actuall&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Cannot-convert-value-quot-of-type-Text-to-type-Integer/m-p/723941" target="_self"&gt;This other thread&lt;/A&gt; might be of use to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 12:05:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-data-by-date-and-filter-the-rest-of-the-visual/m-p/3173733#M114490</guid>
      <dc:creator>Wilson_</dc:creator>
      <dc:date>2023-04-05T12:05:39Z</dc:date>
    </item>
  </channel>
</rss>

