Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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!!
Hi @Anonymous ,Attaching ss without the filters
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
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
Here is the screenshot of the relationship and the aggregation
Hi @Vysh27 ,
Thanks for your reply. Please follow the steps below to get it:
1. Create a measure as below
Measure =
CALCULATE (
DISTINCTCOUNT ( 'final_phones'[guardian_id] ),
FILTER (
'final_phones',
'final_phones'[organization_id]
IN VALUES ( 'trs_organizations'[organization_id] )
)
)
2. Put the above measure to replace the aggregation function: Count of guardian_id. And check if it can return same count records with AWS Redshift...
Best Regards
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?
Best Regards
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |