Forum Discussion

cathoms's avatar
cathoms
Responsive Resident
5 years ago
Solved

Mathematically transform values in a column in Power Query

I am (re)building a dataset and report from an Excel sheet that I download. There are columns that are supposed to be rates, i.e. number of new visits coded X/total number of new visits. Unfortunately, these are all formated as numbers rather than percentages. So, for example, where a code utilization rate is listed as 19.04, it should really be 19.04%, or 0.1904. See image:

 

 

Is there a way I can transform these values to be correct, either within Power Query or through DAX? I don't want to do it in the source file because that will take some work and I am trying to set this up so that I can just add future files into the source folder to update it.

 

Note that I can't just make them data type: percentage because, using my previous example, 19.04 will become 1904% rather than 19.04%. This matters for some other calculations, conditional formating, and displaying the values correctly as percentages.

4 Replies