<?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: Calendar Table Not Connecting With Direct Query in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/3001334#M101341</link>
    <description>&lt;P&gt;Cool!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2023 15:19:45 GMT</pubDate>
    <dc:creator>jewel_at</dc:creator>
    <dc:date>2023-01-04T15:19:45Z</dc:date>
    <item>
      <title>Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999383#M101211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to relate my calendar table to a data set from a direct query, but my relationships are not matching. I am pretty certain it has to do with the fact my data set has date/time format. Unfortunately, I cannot use import and need to use direct query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following...&lt;/P&gt;&lt;P&gt;1. Utilizing SQL query to bring in the data set utilizing TO_DATE() function, but I can see somehow it is still pulling in a time.&lt;/P&gt;&lt;P&gt;2. Utilizing SUMMARIZE COLUMNS and SELECT COLUMNS to import the direct query data and changing the format from date/time to date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a DAX statement I can use within my summarize or select columns that will extract that date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 20:23:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999383#M101211</guid>
      <dc:creator>giovanna8988</dc:creator>
      <dc:date>2023-01-03T20:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999465#M101212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="493814" data-lia-user-login="giovanna8988" class="lia-mention lia-mention-user"&gt;giovanna8988&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried changing the data type of the date from your SELECT COLUMNS to "Date" ? Select the field &amp;gt;&amp;gt; Column Tools&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;Hope that helps!&lt;/P&gt;&lt;P&gt;Jewel&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 21:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999465#M101212</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2023-01-03T21:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999470#M101213</link>
      <description>&lt;P&gt;I have. That was that is what I am mentioning in attempt number 2 above.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 21:18:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999470#M101213</guid>
      <dc:creator>giovanna8988</dc:creator>
      <dc:date>2023-01-03T21:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999484#M101214</link>
      <description>&lt;P&gt;Oh Sorry!&lt;/P&gt;&lt;P&gt;How about try this in your SELECT COLUMN, then change the data type to Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Left(CONVERT('Table'[Timestamp], STRING),10)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is given that your original date is mm/dd/yyyy hh:mm:ss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have a sample of your data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jewel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 21:29:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/2999484#M101214</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2023-01-03T21:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/3001330#M101340</link>
      <description>&lt;P&gt;This worked! Thank you! Along with making sure I was using a measure function to calculate count rather than allowing PowerBI to calculate it for me.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 15:18:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/3001330#M101340</guid>
      <dc:creator>giovanna8988</dc:creator>
      <dc:date>2023-01-04T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Table Not Connecting With Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/3001334#M101341</link>
      <description>&lt;P&gt;Cool!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 15:19:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-Table-Not-Connecting-With-Direct-Query/m-p/3001334#M101341</guid>
      <dc:creator>jewel_at</dc:creator>
      <dc:date>2023-01-04T15:19:45Z</dc:date>
    </item>
  </channel>
</rss>

