Forum Discussion

Vysh27's avatar
Vysh27
New Member
1 year ago

Redshift data and Power BI data are not matching up

Hi Everyone , I have been facing an issue with the data in power BI which comes from AWS redshift
I'm validating the count of distinct guardians for a particular date with AWS redshift data.
I have used direct query mode as the method for loading the data.
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.
Need some help with why there is higher count in Power BI.

If Someone can help me with ASAP it would be great as I am stuck on the same from the past 4 days.
Thankss!!


6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Vysh27 ,

    It seems like there is data mismatch between AWS redshift and Power BI side when apply a date filter.  Could you please provide the following info?

    • Please provide the "filter" setting(slicer or filter pane).
    • What's the date format of date field? What's the timezone?
    • Is there any NULL values for this date field?
    • Could you please provide some records(especially date field 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?

    Best Regards

  • Hi Anonymous  , 
    - I have used the date filter in the filter pane
    - It's Just date format
    - No there aren't any null values
    -I have attached the details below please have a look

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Vysh27 ,

       According to your screenshot, it is true that  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 transforms.final_phones, transforms.trs_organizations and transforms.trs_dates in Power BI? Could you please provide your relationship settings with screenshot? By the way, which aggregation function you are applying on the field [guardian_id]? Count(Distinct) or Count?

      Best Regards

      • Vysh27's avatar
        Vysh27
        New Member

        Here is the screenshot of the relationship and the aggregation

         

  • Hi Anonymous ,Attaching ss without the filters