<?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: Help needed with a DAX Formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556628#M30844</link>
    <description>&lt;P&gt;Hi Amit,&lt;BR /&gt;&lt;BR /&gt;Yeah this one is working, works fine with all views. Uploaded data.&lt;BR /&gt;&lt;BR /&gt;Did not yet add all data, will be some data from ServiceNow and Azure added but those are not needed for this part.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 12:25:05 GMT</pubDate>
    <dc:creator>SebasB</dc:creator>
    <dc:date>2020-12-17T12:25:05Z</dc:date>
    <item>
      <title>Help needed with a DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556046#M30827</link>
      <description>&lt;P&gt;The "problem" is as following:&lt;BR /&gt;I want a new column that calculates with several statements, for instance:&lt;BR /&gt;&lt;EM&gt;(Started with the saving of data from 01-2020 thats why I start there)&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From Jan-2020 t/m okt-2020 use table: "&lt;STRONG&gt;Amount&lt;/STRONG&gt;" (&lt;EM&gt;decimal number&lt;/EM&gt;) * table "&lt;STRONG&gt;Cost price 2020&lt;/STRONG&gt;"(&lt;EM&gt;decimal number&lt;/EM&gt;);&lt;/LI&gt;&lt;LI&gt;From Nov-2020&amp;nbsp;t/m okt-2021 use table:&amp;nbsp;"&lt;STRONG&gt;Amount&lt;/STRONG&gt;"(&lt;EM&gt;decimal number&lt;/EM&gt;) * table "&lt;STRONG&gt;Cost price 2021&lt;/STRONG&gt;"(&lt;EM&gt;decimal number&lt;/EM&gt;);&lt;/LI&gt;&lt;LI&gt;From Nov-2021&amp;nbsp;t/m okt-2022 use table:&amp;nbsp;"&lt;STRONG&gt;Amount&lt;/STRONG&gt;"(&lt;EM&gt;decimal number&lt;/EM&gt;) * table "&lt;STRONG&gt;Cost price 2022&lt;/STRONG&gt;"(&lt;EM&gt;decimal number&lt;/EM&gt;);&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the calculations column in my table "doorbelasting", and I did make a date table with DAX that has several Columns like Date (relation with Date in table "doorbelasting", Quarter, Year, YearMonthNumber, etc.).&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;Date = &lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;ADDCOLUMNS (&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;CALENDAR (DATE(2020,1,1), DATE(2025,12,31)),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"Year", YEAR ( [Date] ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"Monthnumber", FORMAT ( [Date], "MM" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"YearMonthnumber", FORMAT ( [Date], "YYYY/MM" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"YearMonthShort", FORMAT ( [Date], "YYYY/mmm" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"MonthNameShort", FORMAT ( [Date], "mmm" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"MonthNameLong", FORMAT ( [Date], "mmmm" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"Quarter", "Q" &amp;amp; FORMAT ( [Date], "Q" ),&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;"YearQuarter", FORMAT ( [Date], "YYYY" ) &amp;amp; "/Q" &amp;amp; FORMAT ( [Date], "Q" )&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried several things but keep getting errors, and also kind of dont want to make extra date columns in the table "doorbelasting" to keep it as clean as possible.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 08:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556046#M30827</guid>
      <dc:creator>SebasB</dc:creator>
      <dc:date>2020-12-17T08:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with a DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556326#M30834</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="276418" data-lia-user-login="SebasB" class="lia-mention lia-mention-user"&gt;SebasB&lt;/a&gt; , is your date table working. If not &lt;/P&gt;
&lt;P&gt;Creating Financial Calendar - From Any Month &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for the above one you can try&lt;/P&gt;
&lt;P&gt;YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"10/31"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:43:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556326#M30834</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-17T10:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with a DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556628#M30844</link>
      <description>&lt;P&gt;Hi Amit,&lt;BR /&gt;&lt;BR /&gt;Yeah this one is working, works fine with all views. Uploaded data.&lt;BR /&gt;&lt;BR /&gt;Did not yet add all data, will be some data from ServiceNow and Azure added but those are not needed for this part.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 12:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556628#M30844</guid>
      <dc:creator>SebasB</dc:creator>
      <dc:date>2020-12-17T12:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with a DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556632#M30845</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1VRXQSnriwwDYK5IUVb-ytGYalnjs46Cw/view?usp=sharing" target="_blank" rel="noopener"&gt;PowerBI file in Google Drive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 12:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-needed-with-a-DAX-Formula/m-p/1556632#M30845</guid>
      <dc:creator>SebasB</dc:creator>
      <dc:date>2020-12-17T12:27:46Z</dc:date>
    </item>
  </channel>
</rss>

