- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Alteryx Designer vs MS SQL Server aggregation differences
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021
12:55 AM
- last edited on
10-20-2021
09:58 AM
by
samanna
I am working on converting a data pipeline that runs on Alteryx Designer into a MS SQL Server query, and I am noticing that I get different results when I use the GROUP BY step. For example, both processes read from the same table that has 2,318,794 rows, but when I use aggregate functions (GROUP BY, MAX(), COUNT() and SUM()) they Alteryx process returns 2,089,738 rowsand the SQL query returns 2,089,238 (a 500 row difference) and the difference increases the more I aggregate, to the point that by the end of the process I end with a 60k lines difference between what Alteryx returns and what my query returns.
Is there a difference on how Alteryx and MS SQL Server execute aggreation operations? Or how they handle NULL values when aggregating?
Any input or idea is appreciated, thank you.
working as an Application Developer at Course Drill.
Re: Alteryx Designer vs MS SQL Server aggregation differences
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2021 07:59 AM
Is this for the NetMRI SQL database access?
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com
Re: Alteryx Designer vs MS SQL Server aggregation differences
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 09:04 PM
Re: Alteryx Designer vs MS SQL Server aggregation differences
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday - last edited yesterday
I read your Question and i try to my best to complet you answer in the short explanation Handling of NULL values: Alteryx and MS SQL Server may handle NULL values differently during aggregations. In Alteryx, NULL values might be treated differently or excluded by default, while in SQL Server, they might be included in the calculations. This can lead to differences in the final result. Data types and precision: Check if there are any differences in data types or precision between the columns used in the aggregations. For example, if one system uses a floating-point data type and the other uses a decimal data type, there could be slight variations in the calculated results. Official site