<?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 Date in the database represented in a &amp;quot;year&amp;quot; component and another &amp;quot;month&amp;quot; component in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-in-the-database-represented-in-a-quot-year-quot-component/m-p/3019086#M102648</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I would like to ask you for two points:&lt;/P&gt;&lt;P&gt;1. I have a date (day, month, year) in my database that I want to display through the segment component. I want to have the date by itself in the segment component when I scroll. I would also like to have the month by itself in another segment component.&lt;/P&gt;&lt;P&gt;2. Finally, I would then like each year or month choice I make to have an impact on the "pie chart" and "table" next to it.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 11:24:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-13T11:24:20Z</dc:date>
    <item>
      <title>Date in the database represented in a "year" component and another "month" component</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-in-the-database-represented-in-a-quot-year-quot-component/m-p/3019086#M102648</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I would like to ask you for two points:&lt;/P&gt;&lt;P&gt;1. I have a date (day, month, year) in my database that I want to display through the segment component. I want to have the date by itself in the segment component when I scroll. I would also like to have the month by itself in another segment component.&lt;/P&gt;&lt;P&gt;2. Finally, I would then like each year or month choice I make to have an impact on the "pie chart" and "table" next to it.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-in-the-database-represented-in-a-quot-year-quot-component/m-p/3019086#M102648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-13T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date in the database represented in a "year" component and another "month" component</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-in-the-database-represented-in-a-quot-year-quot-component/m-p/3019368#M102662</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Not very clear, Prefer to create a date/calendar table join it with date and use that &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calendar = Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date]) &lt;BR /&gt;, "Year", year([date])&lt;BR /&gt;, "Month Year", format([date],"mmm-yyyy") &lt;BR /&gt;, "Month year sort", year([date])*100 + month([date])&lt;BR /&gt;, "Qtr Year", format([date],"yyyy-\QQ") &lt;BR /&gt;, "Qtr", quarter([date]) &lt;BR /&gt;, "Month",FORMAT([Date],"mmmm")&lt;BR /&gt;, "Month sort", month([DAte])&lt;BR /&gt;, "Is Today" ,if([Date]=TODAY(),"Today",[Date]&amp;amp;"") &lt;BR /&gt;,"Day of Year" , datediff(date(year([DAte]),1,1), [Date], day)+1 &lt;BR /&gt;, "Month Type", Switch( True(),&lt;BR /&gt;eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,&lt;BR /&gt;eomonth([Date],0)= eomonth(Today(),0),"This Month" ,&lt;BR /&gt;Format([Date],"MMM-YYYY") )&lt;BR /&gt;,"Year Type" , Switch( True(),&lt;BR /&gt;year([Date])= year(Today()),"This Year" ,&lt;BR /&gt;year([Date])= year(Today())-1,"Last Year" ,&lt;BR /&gt;Format([Date],"YYYY")&lt;BR /&gt;) &lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 13:34:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-in-the-database-represented-in-a-quot-year-quot-component/m-p/3019368#M102662</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-13T13:34:35Z</dc:date>
    </item>
  </channel>
</rss>

