Forum Discussion
How to convert SQL syntax to Dax
- 8 years ago
HI v-xjiin-msft,
Thank you for taking part in my small request.
I will definitely share under IDEA.
My work around was simillar as suggested by yourself and other participant. Under excel, in one column I entered dates, convered them in Hijri and format them as Text, and connected this table to my Power BI Desktop, and relate them with the Date table.
This help me get the desired results.
Thanks for the suggestion. Unfortunately it didnt work.
- Anonymous8 years agoNot applicable
Could you try replace in Edit Query (screenshot attached), and see if it works?
- shakirkhanani8 years agoHelper I
It doesnt. But thanks for chipping in. Basically I wanted to convert the Georgian date into Hijri (solar calendar). I tried under Change Tyepe -> Locale as well:
However, the column still shows Georgina date and not as above, please see below:
- precedence8 years agoFrequent Visitor
I see, it doesn't appear that Power BI supports that from anything I can find. You may have to treat it as text and convert/format it manually.
- precedence8 years agoFrequent Visitor
Is the date column formatted as a date in the Modeling tab on the Ribbon? You can also format Dates using Power BI's built in format on the ribbon there too.