Each history record will has 2 rows of data, 1 for Id, another for Text.

But in Report, only the Text data row will show.

Report Example:

Report showing  Text row only

In SOQL it will show both Text data and Id data rows.

SOQL Example:

SOQL showing Text row + Id row

So, bear in mind, if you want to count the number of history events in SOQL, you should divide the result by 2.


Leave a Reply

Your e-mail address will not be published. Required fields are marked *