The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
80 | |
78 | |
47 | |
39 |
User | Count |
---|---|
148 | |
115 | |
65 | |
64 | |
53 |