Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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?
Solved! 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.
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.
Hi @Jeanxyz ,
You can try like this:-
Column = 'Table'[Converted currency]&"_"&'Table'[budget currency]&"_"&FORMAT('Table'[dateid],"MM/DD/YYYY")
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
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |