cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerBIspeed
Frequent Visitor

Getting filtered data from DB2 source with PowerBI

Is it possible to get data from a DB2 source with ODBC connector but filtered.
As an example:

I have Database with 1,5 mil. rows but only need 4000 from 1 customer. How is this possible without pulling first the compleet database to powerBI. Because of the impact it would be nice to only have a dataset with the 4000 rows.

Any support would be welcome. Thank you.

1 ACCEPTED SOLUTION
collinq
Super User
Super User

Hi @PowerBIspeed ,

 

The key is the connection type.  If you are using ODBC and want to filter on the connection you will have to use the ODBC "language" to do so.  This is a great document that walks you through your options (yes, I have successfully done this with similar ODBC filtering):

OData Version 4.01. Part 2: URL Conventions (oasis-open.org)

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

1 REPLY 1
collinq
Super User
Super User

Hi @PowerBIspeed ,

 

The key is the connection type.  If you are using ODBC and want to filter on the connection you will have to use the ODBC "language" to do so.  This is a great document that walks you through your options (yes, I have successfully done this with similar ODBC filtering):

OData Version 4.01. Part 2: URL Conventions (oasis-open.org)

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!