I have data in the powerbi loaded from azure analytics service. As I connect it in live mode, so I cannot open the power query in the report.
Now I need to convert YYYYMM (called calendar from the table, for instance, 201905) to number or datetime. As I do not know the default format, so I try to use date or value to get the result. However, I am not able to find the table in the formula. For example:
Value(table[calendar])
or
Date = DATE ( LEFT ( table[calendar], 4 ), RIGHT ( table[calendar], 2 ), 1 )
My question is how to convert YYYYMM to the NUMBER or DATE. Thank you.


