Hi @Paul Good ,
Welcome to Microsoft Q&A platform and thanks for posting your query.
As I understand your query, you are trying to use Window transformation in data flow and making use of parameter to reference the source column but it's throwing an error saying "Over column PKColumn must reference at least one column" . Please let me know if it's not the case.
First of all, while referencing any column please try to use byName function which is used to select a column value by Name and do a typecasting to string if needed.
Coming to your query, I was able to reproduce your scenario and faced the same error when I used over clause of windows transformation and tried referencing a column using parameterization . However, the same approach was successful in other transformation like Rank,Aggregate , etc. Even the other tabs apart from Over in window transformation i.e. Sort, and window are working using parameterized column value.
It looks like a product bug to me. I am taking this ahead with the product team and will keep you posted after I hear any response from them.
Meanwhile, I would recommend you to make use of aggregate function to achieve the same requirement which is meant for performing aggregations of columns similar to Windows transformation.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators