<?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: Formula DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-DAX/m-p/4047197#M160531</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="776846" data-lia-user-login="Jizquierdo" class="lia-mention lia-mention-user"&gt;Jizquierdo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the fields in the&amp;nbsp;&lt;SPAN&gt;DWH Made_Sales and&amp;nbsp;DWH Fact_Sales? Are there any relationships between the two tables?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please share some data(exclude sensitive data), or create some sample data, so that we can help you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;You can refer the following links to share the required info:&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2fcommunity.powerbi.com%2ft5%2fcommunity-blog%2fhow-to-provide-sample-data-in-the-power-bi-forum%2fba-p%2f963216&amp;amp;data=05%7c01%7cclaire.dong%40microsoft.com%7cada9149bd91546a8432508dacd31ef9b%" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=EJlYfclgtrjgAEYj9Uo1AauqxaQm3hlQsjJMo4zCY1M%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2fcommunity.powerbi.com%2ft5%2fcommunity-blog%2fhow-to-get-your-question-answered-quickly%2fba-p%2f38490&amp;amp;data=05%7c01%7cclaire.dong%40microsoft.com%7cada9149bd91546a8432508dacd31ef9b%7c72f988" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7UEf71Mu2ySWC7MlgciaPViM1RqU5nx4OHGHG5EvNSw%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 02:02:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-18T02:02:51Z</dc:date>
    <item>
      <title>Formula DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-DAX/m-p/4046580#M160509</link>
      <description>&lt;P&gt;Good morning everyone, starting with power bi and first time on the forum&lt;BR /&gt;I have a question and I hope you can help me.&lt;/P&gt;&lt;P&gt;I have the following formula&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;USDSalesLYTD =&lt;BR /&gt;SUMX(&lt;BR /&gt;'DWH Made_Sales',&lt;BR /&gt;YEAH(&lt;BR /&gt;'DWH Fact_Sales'[Country_ID] = 1,&lt;BR /&gt;[SalesLYTD] / 575, IF( 'DWH Fact_Sales'[Country_ID] = 2,&lt;BR /&gt;[SalesLYTD] / 7.68, [SalesLYTD] * 1&lt;BR /&gt;)&lt;BR /&gt;))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;which gives me a result in the blank table&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;the SALESLYTD formula&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;SalesLYTD = CALCULATE([NetSales],SAMEPERIODLASTYEAR(Dim_Time[Date]))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;What I am looking for is to calculate last year's sales in the same period and then apply a currency exchange according to the country code&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 17:21:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-DAX/m-p/4046580#M160509</guid>
      <dc:creator>Jizquierdo</dc:creator>
      <dc:date>2024-07-17T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Formula DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-DAX/m-p/4047197#M160531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="776846" data-lia-user-login="Jizquierdo" class="lia-mention lia-mention-user"&gt;Jizquierdo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the fields in the&amp;nbsp;&lt;SPAN&gt;DWH Made_Sales and&amp;nbsp;DWH Fact_Sales? Are there any relationships between the two tables?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please share some data(exclude sensitive data), or create some sample data, so that we can help you better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;You can refer the following links to share the required info:&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2fcommunity.powerbi.com%2ft5%2fcommunity-blog%2fhow-to-provide-sample-data-in-the-power-bi-forum%2fba-p%2f963216&amp;amp;data=05%7c01%7cclaire.dong%40microsoft.com%7cada9149bd91546a8432508dacd31ef9b%" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=EJlYfclgtrjgAEYj9Uo1AauqxaQm3hlQsjJMo4zCY1M%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2fcommunity.powerbi.com%2ft5%2fcommunity-blog%2fhow-to-get-your-question-answered-quickly%2fba-p%2f38490&amp;amp;data=05%7c01%7cclaire.dong%40microsoft.com%7cada9149bd91546a8432508dacd31ef9b%7c72f988" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7UEf71Mu2ySWC7MlgciaPViM1RqU5nx4OHGHG5EvNSw%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 02:02:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formula-DAX/m-p/4047197#M160531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-18T02:02:51Z</dc:date>
    </item>
  </channel>
</rss>

