Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear All,
is there any possibilities to write a DAX formula for Custom india date format like dd-mm-yyyy in a direct query mode?
1.In Calculated column FORMAT is not support in direct query mode
2.In Measure couldn't call the date column from the table.
Like Measure=FORMAT('Table1'[Created_Date],"dd-mm-yyyy")
Kindly please help me out on this.
Thanks in advance
Solved! Go to Solution.
Thank you so much for your Idea.
The below calculated column worked fine.
You can try splitting your date column in query editor and then using the merge columns feature, combine as per the indian date format. "dd-mm-yyyy".
In case, this step may not be supported then you can use combination of LEFT, RIGHT functions to extract dd, mm, yyyy and then concatenate all together.
Thanks
Bhavesh
Thank you so much for your Idea.
The below calculated column worked fine.
Hi @Charu @RyanP @BhaveshPatel @v-cherch-msft
What we need to do if we want to add 0 in prefix of jan to sep.
Thanks
Doesnt pad the zero for January through September 😕
Hi @Charu
Glad to hear you've solved it, kindly mark your answer as a solution.that way, other community members will easily find the solution when they get same issue.
Regards,
Cherie
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
185 | |
73 | |
73 | |
50 | |
42 |