Forum Discussion
6DiegoDiego9
Helper I
4 years agoBe alerted if data is not as expected
Is it possible to be alerted during a Power Query, at runtime, if data is not as expected? (e.g. if there are 200 rows instead than 100 in the source)
4 Replies
- Vijay_A_Verma
Most Valuable Professional
Power Query is not designed to provide any sort of message. You can though populate a column or a cell/record with the error message if needed through the use of M statements.
- 6DiegoDiego9
Helper I
Oh, so what other tools do you use to check integrity of the data given to Power Query?
VBA?- Vijay_A_Verma
Most Valuable Professional
If you can describe your data source (if this is Excel, then VBA can be an option) and scenarios (like row count) which you want to check, that would help me to think about a solution.