How to Calculate DAU from Raw Data Exports

Question 1: How do I replicate the DAU data found in the data explorer using the Raw Data Export feature?

We are currently downloading the custom event raw data and importing it into our SQL server. Regardless of the Raw Data File that I extract, I cannot replicate the DAU numbers found in the data explorer. My custom event come closest, but these are still.

The purple bars in the screenshot are very close to the distinct computerid count I get on the custom raw data. The orange bars are the DAU count. Notice the discrepancy between the two?

If I use the app running or app started raw files, the discrepancy is even larger.


Question 2: How is it possible to have more users with custom events than there are users with the app running?

EDITS:
QUESTION 1 NOTE: We figured out that the custom event codes were not being sent until the next time the user opens the game. App Start events are sent though when the user starts the game, and these numbers are nearly identical to the DAU numbers in the data explorer.

@vrmako

As you mentioned in your edit, our DAU numbers are a count of unique ids that send us the appStart event.

Analytics events are cached and sent in batches. So it’s possible that a custom event will not be sent until the next time the user starts the app.

I don’t think that should be possible. If you see this behavior, could you fill out a support ticket with your project ID:
https://analytics.cloud.unity3d.com/support/