Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PlantNut
Frequent Visitor

Power BI Desktop connection QuickBooksOnline cannot pull data from Invoice_Sales_Item_Line

Would love it if someone has an idea about this one.  I am trying to set up a connection via PowerBI Desktop to Quickbooks Online to pull the line items of invoices (ideally for the last 3 years only).  It is running into a memory management error.   I've tried increasing the Data Cache Management but that didn't help.  Does anyone know of how to perhaps write the statment to filter prior to importing? Below is what I have so far that is erroring out on the Navigation step (I'm only guessing that the column is Create_Time as that is what it is in the Invoice table that is loading properly.  Our data goes back to 2011 so If I can filter for last 3 years I think I will be okay...

 

let
Source = QuickBooksOnline.Tables(null),
Invoice_Sales_Item_Line = Source{[Name="Invoice_Sales_Item_Line",Kind="Table"]}[Data],
#"Filtered Rows" = Table.SelectRows(Invoice_Sales_Item_Line, each [Create_Time] > #datetime(2020, 6, 27, 0, 0, 0))
in
#"Filtered Rows"

1 ACCEPTED SOLUTION
edhans
Super User
Super User

To my knowledge you cannot filter Quickbooks data before the import like you can with SQL Server and OData feeds. Power Query would need to process all of the data. You can then filter in Power Query and only bring the 3 year range into the DAX model. But Quickbooks like like a CSV file in that regard. Power Query has to do all of the work.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
edhans
Super User
Super User

To my knowledge you cannot filter Quickbooks data before the import like you can with SQL Server and OData feeds. Power Query would need to process all of the data. You can then filter in Power Query and only bring the 3 year range into the DAX model. But Quickbooks like like a CSV file in that regard. Power Query has to do all of the work.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Thank you. I will cease looking for a solution on this path then.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors