<?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: Dates in columns and variable in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1749180#M36410</link>
    <description>&lt;P&gt;That is a rather unfortunate table design. Have you considered unpivoting your month columns?&lt;/P&gt;</description>
    <pubDate>Sat, 27 Mar 2021 03:35:52 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-03-27T03:35:52Z</dc:date>
    <item>
      <title>Dates in columns and variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1746513#M36328</link>
      <description>&lt;P&gt;Currently, I have an input like below with hundreds of extra columns:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Initiative&lt;/TD&gt;&lt;TD&gt;Cost&lt;/TD&gt;&lt;TD&gt;mar-21&lt;/TD&gt;&lt;TD&gt;apr-21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;UK&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;US&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;IT&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I, without hard coding the current month (mar-21), identify the total per column which would be for UK = 30 and next month = 40? I need to create a new variable for current month.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 19:57:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1746513#M36328</guid>
      <dc:creator>Ludd</dc:creator>
      <dc:date>2021-03-25T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in columns and variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1749180#M36410</link>
      <description>&lt;P&gt;That is a rather unfortunate table design. Have you considered unpivoting your month columns?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 03:35:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1749180#M36410</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-03-27T03:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in columns and variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1751078#M36488</link>
      <description>&lt;P&gt;Unpivoting does the trick. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 07:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dates-in-columns-and-variable/m-p/1751078#M36488</guid>
      <dc:creator>Ludd</dc:creator>
      <dc:date>2021-03-29T07:38:03Z</dc:date>
    </item>
  </channel>
</rss>

