Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello
I have the following:
I would like to convert the first column based on what I found in the second one, in this way:
I understood that the function to use is Currency.from, but I don't know how to combine this with the function Table.TransformColumn.
Could you suggest the code please?
Thanks.
Solved! Go to Solution.
Hi @Mic1979 , instead of Table.TransformColumns, to refer to the other column without adding an another column, Table.TransformRows can be used. I'll attach the file and and the code itself for reference. Thanks!
Many Thanks.
Just a question: Why did you not use the Currency.From function?
That is because, the Currency.From function transforms the value in that column in a Number format. Since we intend to put the currency symbol next to it as well, both of them need to be in the same data format for it to work. Besides, I don't think Currency.From attaches a currency symbol next to it, it only converts it to Power Query's currency type. Thanks
Hi @Mic1979 , instead of Table.TransformColumns, to refer to the other column without adding an another column, Table.TransformRows can be used. I'll attach the file and and the code itself for reference. Thanks!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |