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.
Hi all
I have a dimDateEntry with the format yyyymmdd , as integer.
But now I need to add a new date format column in SSAS, with that date.
I already try the follow code that returns a error : =FORMAT('Table'[dimDateEntry];"mm/dd/yyyy")
or even
=DAY('Table'[dimDateEntry]) & "/" & MONTH('Table'[dimDateEntry]) & "/" & YEAR('Table'[dimDateEntry])
Solved! Go to Solution.
Hi @pjmanuel ,
Create a column with below code:-
Column =
var _year = MID([Date],1,4)
var _month = MID([Date],5,2)
var _day = MID([Date],7,2)
return DATE(_year,_month,_day)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @pjmanuel ,
Create a column with below code:-
Column =
var _year = MID([Date],1,4)
var _month = MID([Date],5,2)
var _day = MID([Date],7,2)
return DATE(_year,_month,_day)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |