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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
npowerbi
Advocate II
Advocate II

Table Count of loaded data / Validation of Incremental Load

Hi Folks,

 

I am trying to connect to a database in import mode and fetching records. I am checking if we can implement incremental load functionality.

 

For this purpose I need a quick table count of loaded tables every 2 hours. Kindly guide me if there is any quick way to get table count and store it for testing purpose.

 

Here is the workflow I am planning for my incremental load testing.

 

  1. I connect to a table A and load the entire table. [Need to quickly check table count. As of now it shows only 199+ because of large volume]. I need to store this count in custom table as well e.g. today's date, today's time and table count
  2. Let's say initial run table loads 10K records
  3. If I schedule next run in next 4 hours, and fetches 1 K records, I need to enter today's date, time and 1 K as an entry

This will confirm that my next run has fetched only 1 K records.

 

It will be great if you can suggest a better approach confirm my incremental loads

 

 

 

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Hmm, maybe the REST API?

 

https://docs.microsoft.com/en-us/rest/api/power-bi/admin

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Just to add to this, if you get your dataset, it has a definition for tables and a method in tables for getting rows in a table.

 

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetbyid

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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
Top Kudoed Authors