Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi everyone,
What I am trying to do is- I have dates like 20230517 I want to display it like 2023-05-17
I have created the following measure
Solved! Go to Solution.
Date =
var d = SELECTEDVALUE('Table'[DateText])
return Left(d,4) & "-" & mid(d,5,2) & "-" & RIGHT(d,2)
Hi @_Regina ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Use FORMAT([date],"yyyy-MM-dd") for the UI.
Still does not work, I have to do it via measure. and then I am creating a table visual where I am pulling in all the recirds so that users can see the relevant data, it is just that dates like 20230715 is not user friendly, I just want it to display differently in the table visual, The limitation is that I cannot create a new column.
Date =
var d = SELECTEDVALUE('Table'[DateText])
return Left(d,4) & "-" & mid(d,5,2) & "-" & RIGHT(d,2)