Forget about writing your own DAX parser.
You can pass a valid DAX query to👇
$SYSTEM.DISCOVER_CALC_DEPENDENCY
And get all the underlying dependencies in under 100ms.
Peeps parsing the Log Analytics traces know what I'm talking about😉
Wasted 20 min searching for a dataviz on ieee vis youtube channel/site.
Then 5 min recreating it from memory.
Finally, my memory is more important than my keyword searching skills