Forum Discussion

codyraptor's avatar
codyraptor
Resolver I
4 years ago
Solved

Agg Table Efficiency Min Date

I'm trying to create an Agg table to take advantage of query folding as well as increase efficiency.  I can aggregate the table excluding the inv-date and it's extremely fast.  Millions of rows conso...
  • codyraptor's avatar
    codyraptor
    4 years ago

    In my specific case...the view is the fastest method to refreshing data and getting the groupings necessary.  Unfortunately the underlying data has several columns that need grouping and Power Query wasn't providing the needed efficiency.  I've improved the sql code for the view and can run sql directly in the model for 2 fact tables ~20mil rows with about 25 columns in 52mins.  Hoping this will improve even more once the view is in place and I can push changes to Oracle.  Thanks lbendlin for trying to assist!!