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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.