Let\'s say you have a view:
CREATE VIEW dbo.v_SomeJoinedTables AS SELECT a.date, a.Col1, b.Col2, DENSE_RANK() OVER(PARTITION BY a.date, a.
As a work-around I would suggest using a function instead of a view so that you can pass in data parameter.