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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
christianfcbmx
Post Patron
Post Patron

HOW TO GET PART OF THE DATA OUT OF DB2 DATABASE?

Question dear Community! pretty new working with powerBI this is my first shot and I need to know something before...my problem is that I have a big data base which is constantly growing (DB2) and I d like to prcess some data for example in this particular case all columns but only the newest 100k rows, otherwise to download to BI desktop and refresh 10.000k data rows would take forever and I need this refresh every 30 minutes to see some data behaviour ....anyone could share a link where I could learn how to get the newest 100k rows only outta this database???? THANKS in advance for any help I could recieved!!!!!!

 

Note:I dont know what kind of parameter I need to use either....in this case data doesnt have dates they are only numbers (if Id like to get data by dates), so I dont know how to get always the last 100k rows

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@christianfcbmx

 

Since you have a big dataset, I suggest you use DirectQuery mode. It refreshes data about every 20 minutes internally.

 

For taking the last 100K rows, you can add a TOPN filter on date column.

 

4.PNG

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@christianfcbmx

 

Since you have a big dataset, I suggest you use DirectQuery mode. It refreshes data about every 20 minutes internally.

 

For taking the last 100K rows, you can add a TOPN filter on date column.

 

4.PNG

 

Regards,

Im still trying to do it, but I think you are right...Ill try to use directquery and add a filter after that...Ill tell tou how it goes later Simon,,,,thanks! 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.