<?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: Problem creating Calculated Column with Multiple Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2809687#M88891</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Create a measure on table 2 , if the values is blank then make it 100 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(isblank([Percentage for Sales]),1, [Percentage for Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&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>Sat, 01 Oct 2022 03:02:24 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-10-01T03:02:24Z</dc:date>
    <item>
      <title>Problem creating Calculated Column with Multiple Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2808742#M88761</link>
      <description>&lt;P&gt;I have 2 tables,&amp;nbsp; Table1 has all the people who work on the company. Table 2 has all the people who made sales on the last months and only this people (so i have repetitive people with a column of different periods (column period with 202203, 202204 and column sales 60%, 70%&amp;nbsp; for the seller Pedro as example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On table 2 i have the percentage that the seller receive that month (top 100).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that i want to show in a visual matrix all the people i have in the company and the percentages by month for each one, and the people that doesn't appear on Table2 should show automatically 100%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Possible example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Percentage for Sales&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin doesn't appear at Table2 and he should receive automatically 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought on creating a calculate column but i believe it doesn't work because a have repetitive data on Table 2 and missing data too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I probably can't change the tables from the origin, so i have to do it at Power BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the already thank you very much to everyone&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 15:19:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2808742#M88761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T15:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating Calculated Column with Multiple Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2809687#M88891</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Create a measure on table 2 , if the values is blank then make it 100 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(isblank([Percentage for Sales]),1, [Percentage for Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&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>Sat, 01 Oct 2022 03:02:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2809687#M88891</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-01T03:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating Calculated Column with Multiple Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2810379#M88975</link>
      <description>&lt;P&gt;Hello amitchandak, thanks you for your answer!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to do that but the problem is that if there are months that a person (example Pedro) doesn't have sales % he doesn't appear on Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Pedro, Martin and Juliet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pedro and Martins always charge sales %, but Juliet never does it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Table2 we can see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Percentage for Sales&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202204&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;70&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;55&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202204&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 95&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There isn’t Juliet there but i need to show in a visual like a matrix or a table this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Percentage for Sales&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202204&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;70&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;55&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202204&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;95&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&lt;/P&gt;&lt;P&gt;Juliet&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;202203&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;Juliet&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;202204&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;Juliet&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and probably with filters this (same period) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Month&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Percentage for Sales&lt;/P&gt;&lt;P&gt;Pedro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;55&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp; &amp;nbsp; &amp;nbsp; 202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&lt;/P&gt;&lt;P&gt;Juliet&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;202205&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe now it's more clear what is my problem about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you all, i always read the forum and learn a lot for you&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 21:03:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-creating-Calculated-Column-with-Multiple-Tables/m-p/2810379#M88975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-01T21:03:10Z</dc:date>
    </item>
  </channel>
</rss>

