Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
12 | |
10 | |
9 | |
9 |
User | Count |
---|---|
17 | |
15 | |
12 | |
10 | |
9 |