Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi folks,
If a column number is less tahn 0, i would like to convert to positive. Could you please let me know how can i do that. Apprciate your help on this.
Regards
Pulikkan
Solved! Go to Solution.
Maybe something like:
new column = if [column] < 0 then [column]*-1 else [column]
Delete your old column, rename this column to your old column name.
Hi Pulikkan,
Could you please mark the proper answer as a solution?
Best Regards,
Dale
In DAX, use ABS function. Or do you want M?
M
Maybe something like:
new column = if [column] < 0 then [column]*-1 else [column]
Delete your old column, rename this column to your old column name.
User | Count |
---|---|
124 | |
108 | |
99 | |
62 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |