Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi all,
I had a question regarding making a calculation that has to be performed on every record in a column.
My data looks like this
| X |
| 7 |
| 29 |
| 7 |
| 82 |
| 118 |
Now what I want is for every row to be substracted by 5. With outcome like:
| X |
| 2 |
| 24 |
| 2 |
| 77 |
| 113 |
Is it best to do this through a calculated column ?
Thanks in advance,
L.Meijdam
Solved! Go to Solution.
It depends.
If you want to keep the original values, you can either add a custom column in Power Query or a calculated column in DAX.
If you want to transform the values, you can use Power Query: Edit Queries - Transform - Standard - Subtract - 5.
It depends.
If you want to keep the original values, you can either add a custom column in Power Query or a calculated column in DAX.
If you want to transform the values, you can use Power Query: Edit Queries - Transform - Standard - Subtract - 5.
Hi @MarcelBeug,
Since I prefered a DAX solution here I created a calculated column to achieve it. Thanks for sharing your insights with me.
Regards,
L.Meijdam
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 63 | |
| 62 | |
| 42 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 120 | |
| 105 | |
| 38 | |
| 29 | |
| 28 |