<?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: Invoice Checking for automation purposes in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Invoice-Checking-for-automation-purposes/m-p/3137683#M111901</link>
    <description>&lt;P&gt;Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 02:36:50 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-03-17T02:36:50Z</dc:date>
    <item>
      <title>Invoice Checking for automation purposes</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Invoice-Checking-for-automation-purposes/m-p/3133440#M111582</link>
      <description>&lt;P class=""&gt;Hi PBI Community&lt;/P&gt;&lt;P class=""&gt;I want to create a DAX measure which returns a&lt;/P&gt;&lt;P class=""&gt;"✓" when the invoice amount posted is equal to the same as the previous journal entry posting.&lt;BR /&gt;and a&lt;BR /&gt;"✗" when the invoice amount is different.&lt;/P&gt;&lt;P class=""&gt;It needs to be conditional on the Amount being posted to the same G/L Account ID and the same Vendor Name.&lt;/P&gt;&lt;P class=""&gt;I made the following, but it doesn't consider the element of previous journal entry posting or whether it is the first posting for that Vendor and related G/L Account ID.&lt;/P&gt;&lt;PRE&gt;Automation Check = 
if(ISBLANK([TY (EUR)]),
blank(),
IF(CALCULATE([TY (EUR)] / [€ Avg.]) = [# Postings],
   FORMAT("✓", "Green"),
   FORMAT("✗", "#Red")
))&lt;/PRE&gt;&lt;P class=""&gt;How could I change it so that the measure returns "x" when it is first postings as well, and not only compares total amount / avg. posting = count of postings.&lt;/P&gt;&lt;P class=""&gt;The matrix visualization looks like this right now:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Mar 2023 12:56:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Invoice-Checking-for-automation-purposes/m-p/3133440#M111582</guid>
      <dc:creator>simo8542</dc:creator>
      <dc:date>2023-03-15T12:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Checking for automation purposes</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Invoice-Checking-for-automation-purposes/m-p/3137683#M111901</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 02:36:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Invoice-Checking-for-automation-purposes/m-p/3137683#M111901</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-03-17T02:36:50Z</dc:date>
    </item>
  </channel>
</rss>

