Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48084

Re: How to check that all expected rows were imported to power bi desktop model?

$
0
0

hxkresl wrote:

How can I (can I?) implement a row check step, just after importing a table, that will perform row count of imported dataset  and compare it to the dataset's expected rowcount? 

 

I would like to create a post import step that will determine if actual rowcount is as expected.

 

Background:

For each table in my power bi desktop model I have an URL that was provided to me by a developer, which executes a json format query he has written.  I use the URL with Get Data->From Web and it retrieves all the data i need for a given table. 

But, since sometimes the imported dataset has too few rows I have asked the developer to add a rowcount column so that i may always know if the imported dataset is what the developer intended.  I hope there is a way to compare my rowcount with developers, for quality control. 


Where is the rowcount column? In the JSON body as well? Then I think you can extract that rowcount and compare it to the rows expanded. 

 

Capture.PNG

 

By the way, usually Power BI won't miss data from API/URL as long as the JSON are correctly extracted, so I don't have concern that data is not imported.


Viewing all articles
Browse latest Browse all 48084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>