Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Refer different values in a single column

I am working on this custom formula:

([Test Post]-([Test Pre]+Number.Abs([Test Pre])*([Control Post]-[Control Pre])/Number.Abs([Control Pre])))/Number.Abs([Test Pre]+Number.Abs([Test Pre])*([Control Post]-[Control Pre])/Number.Abs([Control Pre])).

 

Test Pre, Test Post, Control Pre and Control Post are in the same column called "Group". can anyone help me with how I can refer each of these values in the formula above using column name?

 

Thanks

1 REPLY 1
ToddChitt
Super User
Super User

A) That looks like DAX, not Power Query M language. Please elaborate. (BTW, this is the Power Query forum)

2) What do you mean by >>Test Pre, Test Post, Control Pre and Control Post are in the same column called "Group".<<

3) Can you give us some sampe of A) what the data looks like now, and B) what you want as an output?

 

Help us hep you.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.