Forum Discussion
indhu
8 years agoHelper III
Exponent calculation
Hi all, I have a column decimal with varying powers say 0,10,18,28 etc. Another column amount, which contains different values. My task is to create a new column which does the following functio...
- 8 years ago
Hi indhu,
In power query, we can add a custom column using the formula as below.
Custom = if [decimal]<>0 then 0.05*[amount]/Number.Power(10,[decimal]) else 0.05*[amount]/10
Here is the result as we excepted.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/srngkyf65xim33h/Exponent%20calculation2.pbix?dl=0
Regards,
Frank
alvin_alpha
6 years agoFrequent Visitor
anyone worked with exponent calculation using calculated columns orr measures?