Fabric is Generally Available. Browse Fabric Presentations. Work
towards your Fabric certification with the Cloud Skills Challenge.
I want to create a key column Source_Target_Date in the format of USD_USD_10/18/2022. Below is what I get, how can I avoid the "-" symbol in the column?
Go to Solution.
I tried the DAX below and get AUD_AUD_10-18-2022.
Column = 'Table'[Converted currency]&"_"&'Table'[budget currency]&"_"&FORMAT('Table'[dateid],"MM/DD/YYYY")
Below is how I solve the problem. However, it's a bit complicated, so I was hoping there is an easier solution.
View solution in original post
Hi @Jeanxyz ,
for me it works easily. I think that is important that you don´t change the data type in Power Query from date to text.
This may help you,
Source_Target_Date = [Converted Currency]&"_"&[Budget Currency]&"_"&FORMAT([DateID],"DDMMYYYY")
Proud to be a Super User!
You can try like this:-
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
Check out the November 2023 Power BI update to learn about new features.
130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.