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.
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.