Guitarmageddon
Board Regular
- Joined
- Dec 22, 2014
- Messages
- 161
Hello!
So I have recently discovered the power of the power query/excel data model features. My initial exposure was in my efforts to compile a bunch of like files into one long list, so that other co workers could filter through them for data as they desired.
So that worked great- i figured out how to power query/compile, and output to one large combined table. Catch is, if I do it for ALL of the files I desire (back to the beginning of the year in our '2018' folder which gets updated weekly) it exceeds excels row limit. I have right now 2.1 million lines of data.
So I learned I could load all 2.1 million lines directly to the data model, so I did that and it worked great.
Now my problem is, how do I: 1)most easily pull that data BACK out of the data model in essentially the same flat table format (no fancy pivots needed on this one) and 2)since I will hit the row limit, how do I make this output table just dynamically pull the last 90 days or whatever i stipulate? That can be based off an "entry date" column within the data.
I have done a preliminary search and read about DAX queries and that I might want to use those, because what I want is a "reverse linkback" table....i think. But now we're getting into me reading Egyptian.
I have so far loaded all my millions of lines to the data model, cleaned it all up in power query, and then went to "existing connections" then selected my query, and loaded as "table." But this is where it gets stuck and says "query returned more data than will fit on a worksheet" and i continue with as many as I can.
Can anyone lend me a hand and see if this is what I really want? Thanks a lot!
So I have recently discovered the power of the power query/excel data model features. My initial exposure was in my efforts to compile a bunch of like files into one long list, so that other co workers could filter through them for data as they desired.
So that worked great- i figured out how to power query/compile, and output to one large combined table. Catch is, if I do it for ALL of the files I desire (back to the beginning of the year in our '2018' folder which gets updated weekly) it exceeds excels row limit. I have right now 2.1 million lines of data.
So I learned I could load all 2.1 million lines directly to the data model, so I did that and it worked great.
Now my problem is, how do I: 1)most easily pull that data BACK out of the data model in essentially the same flat table format (no fancy pivots needed on this one) and 2)since I will hit the row limit, how do I make this output table just dynamically pull the last 90 days or whatever i stipulate? That can be based off an "entry date" column within the data.
I have done a preliminary search and read about DAX queries and that I might want to use those, because what I want is a "reverse linkback" table....i think. But now we're getting into me reading Egyptian.
I have so far loaded all my millions of lines to the data model, cleaned it all up in power query, and then went to "existing connections" then selected my query, and loaded as "table." But this is where it gets stuck and says "query returned more data than will fit on a worksheet" and i continue with as many as I can.
Can anyone lend me a hand and see if this is what I really want? Thanks a lot!