Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear Community,
this should be simple, but I dont know how to do it in M Language. Value is given, the second Column (Average of Column Value + 10) should be calculated:
Value | Average of Column Value + 10 | |
10 | 30 | |
20 | 30 | |
30 | 30 |
Thanks and regards, Michael
Solved! Go to Solution.
Use below formula in a custom column where #"Previous Step" should be your previous step
= List.Average(#"Previous Step"[Value])+10
It's generally better to do this sort of thing with a measure in DAX, but if you have to do it in the query editor, you can write a custom column like this:
You'll need to use whatever the previous step name was instead of #"Changed Type".
It's generally better to do this sort of thing with a measure in DAX, but if you have to do it in the query editor, you can write a custom column like this:
You'll need to use whatever the previous step name was instead of #"Changed Type".
This did it, thanks!
Use below formula in a custom column where #"Previous Step" should be your previous step
= List.Average(#"Previous Step"[Value])+10
Very nice, thanks!