<?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: Redshift data and Power BI data are not matching up in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4246098#M57894</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/825694"&gt;@Vysh27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your reply. Please follow the steps below to get it:&lt;/P&gt;
&lt;P&gt;1. Create a measure as below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE (
    DISTINCTCOUNT ( 'final_phones'[guardian_id] ),
    FILTER (
        'final_phones',
        'final_phones'[organization_id]
            IN VALUES ( 'trs_organizations'[organization_id] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;2. Put the above measure to &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; &lt;/STRONG&gt;the aggregation function: &lt;EM&gt;Count of guardian_id&lt;/EM&gt;. And check if it can return same count records with AWS Redshift...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1729150923605.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1184598i2B98028C424DCACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1729150923605.png" alt="vyiruanmsft_0-1729150923605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 07:43:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-17T07:43:10Z</dc:date>
    <item>
      <title>Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4243520#M57867</link>
      <description>&lt;P&gt;Hi Everyone , I have been facing an issue with the data in power BI which comes from AWS redshift&lt;BR /&gt;I'm validating the count of distinct guardians for a particular date with AWS redshift data.&lt;BR /&gt;I have used direct query mode as the method for loading the data.&lt;BR /&gt;The total no of distinct guardians showed in power BI is matching up with total no of distinct guardians in AWS redshift but when I add a date filter and then check there seems to be a bit higher count in Power BI than redshift.&lt;BR /&gt;Need some help with why there is higher count in Power BI.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If Someone can help me with ASAP it would be great as I am stuck on the same from the past 4 days.&lt;BR /&gt;Thankss!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 18:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4243520#M57867</guid>
      <dc:creator>Vysh27</dc:creator>
      <dc:date>2024-10-15T18:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4243992#M57873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/825694"&gt;@Vysh27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It seems like there is data mismatch between AWS redshift and Power BI side when apply a date filter.&amp;nbsp; Could you please provide the following info?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Please provide the "filter" setting(slicer or filter pane).&lt;/LI&gt;
&lt;LI&gt;What's the date format of date field? What's the timezone?&lt;/LI&gt;
&lt;LI&gt;Is there any NULL values for this date field?&lt;/LI&gt;
&lt;LI&gt;Could you please provide some records(&lt;STRONG&gt;especially &lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;date field&lt;/FONT&gt; should be specific to the hour, minute, and second ) which display in Power BI but not display in AWS Redshift in the same date period?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 03:37:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4243992#M57873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-16T03:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244049#M57875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;BR /&gt;- I have used the date filter in the filter pane&lt;BR /&gt;- It's Just date format&lt;BR /&gt;- No there aren't any null values&lt;BR /&gt;-I have attached the details below please have a look&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_0-1729055154358.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183762iEB84C42C415B971D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_0-1729055154358.png" alt="Vysh27_0-1729055154358.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_1-1729055212693.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183763i53849235B01C071E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_1-1729055212693.png" alt="Vysh27_1-1729055212693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 05:07:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244049#M57875</guid>
      <dc:creator>Vysh27</dc:creator>
      <dc:date>2024-10-16T05:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244059#M57876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,Attaching ss without the filters&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_1-1729056609844.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183777iF0A95A7A3F5C06D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_1-1729056609844.png" alt="Vysh27_1-1729056609844.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_2-1729056635161.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183778i3D69F3E1427EA423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_2-1729056635161.png" alt="Vysh27_2-1729056635161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 05:30:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244059#M57876</guid>
      <dc:creator>Vysh27</dc:creator>
      <dc:date>2024-10-16T05:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244361#M57881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/825694"&gt;@Vysh27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;According to your screenshot, it is true that&amp;nbsp; there are more pieces of data inside Power BI than inside AWS redshift on the day Oct 01, 2024. Did you create any relationship among these table&amp;nbsp;&lt;EM&gt;transforms.final_phones&lt;/EM&gt;, &lt;EM&gt;transforms.trs_organizations&lt;/EM&gt; and &lt;EM&gt;transforms.trs_dates&lt;/EM&gt; in Power BI? Could you please provide your relationship settings with screenshot? By the way, which aggregation&amp;nbsp;function you are applying on the field [guardian_id]? &lt;EM&gt;&lt;STRONG&gt;Count(Distinct)&lt;/STRONG&gt;&lt;/EM&gt; or &lt;EM&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;/EM&gt;?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1729066522312.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183897iE460E1422CC4679F/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1729066522312.png" alt="vyiruanmsft_0-1729066522312.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 08:16:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244361#M57881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-16T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244564#M57884</link>
      <description>&lt;P&gt;Here is the screenshot of the relationship and the aggregation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_0-1729072013075.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183994i5E6414C280D2EF9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_0-1729072013075.png" alt="Vysh27_0-1729072013075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vysh27_1-1729072029519.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1183995i701922FBB256766A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vysh27_1-1729072029519.png" alt="Vysh27_1-1729072029519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 09:47:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4244564#M57884</guid>
      <dc:creator>Vysh27</dc:creator>
      <dc:date>2024-10-16T09:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift data and Power BI data are not matching up</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4246098#M57894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/825694"&gt;@Vysh27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your reply. Please follow the steps below to get it:&lt;/P&gt;
&lt;P&gt;1. Create a measure as below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE (
    DISTINCTCOUNT ( 'final_phones'[guardian_id] ),
    FILTER (
        'final_phones',
        'final_phones'[organization_id]
            IN VALUES ( 'trs_organizations'[organization_id] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;2. Put the above measure to &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; &lt;/STRONG&gt;the aggregation function: &lt;EM&gt;Count of guardian_id&lt;/EM&gt;. And check if it can return same count records with AWS Redshift...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyiruanmsft_0-1729150923605.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1184598i2B98028C424DCACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_0-1729150923605.png" alt="vyiruanmsft_0-1729150923605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 07:43:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Redshift-data-and-Power-BI-data-are-not-matching-up/m-p/4246098#M57894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-17T07:43:10Z</dc:date>
    </item>
  </channel>
</rss>

