Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Count rows in query editor before applying filters

Hi all,   I have an Excel data source which I'm cleaning up using the query editor. I'd like to be able to report in Power BI how many rows there were before any filters were applied in the query e...
  • Greg_Deckler's avatar
    9 years ago

    I'm not sure what you would envision as elegant. You could create a custom column in the query editor that would utilize Table.RowCount function and put that step before any filters. You could also create a separate query and all it does is do this, if you want it in a separate table. Again, not sure what qualifies as elegant.