Forum Discussion
What does the dot command do [column].[column]
- 6 years ago
Hi fschiro
Its a DAX reference to auto date hierarchy table that you can not see it in your model as it's hidden, normally you would use it if you do not have a date dimension.
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
fschiro ,
I believe the "." denotes an object that is in the class on the left side of the "." So any commands on the right side of the" . "are all grouped together as a subset of the object on the left side of the"."
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Nathaniel_C
Is there any documentation on this?
Can I create data that utilizes this? Meaning, can I create a column that contains subvalues which I can reference with dot?
- Nathaniel_C6 years agoCommunity Champion
Hi fschiro ,
I just came across this blog. At the end he says, "
An afterthought
Also, please keep in mind that the dot symbol in List.Generate does not have the same meaning as in other languages either. There are no object methods in M, and there are no namespaces, so the dot is just another character without any special meaning. It could have been a dash or an underscore - it wouldn't have mattered."
So unlike other languages he says it doesn't mean anything. If you find different, let us know.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathanielhttps://potyarkin.ml/posts/2017/loops-in-power-query-m-language/