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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cblanton45
Frequent Visitor

Trouble with simple DAX MAX for a group formula

I am trying to get this simple formula to calculate a Max based off of another column:

 

WellMax = CALCULATE(MAX([Depth],FILTER(Table,[Well]=EARLIER([Well]))))
 
When I get to the EARLIER function, it does not show the list of columns to select from so I am just typing it in.
 
When I resolve the formula I get the following message:
The value for 'Depth' cannot be determined. Either 'Depth' doesn't exist, or there is no current row for a column named 'Depth'
 
This is a calculated column, btw.
1 ACCEPTED SOLUTION
v-cherch-msft
Employee
Employee

Hi @cblanton45 

 

Based on my test, it seems correct.Could you show us the sample data or the screenshot?

1.png

Regards,

Cherie 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
cblanton45
Frequent Visitor

Seems to be working fine now.  I tried again later and just typed the formula from scratch and it allowed me to select from columns when I got to EARLIER.  Thanks

v-cherch-msft
Employee
Employee

Hi @cblanton45 

 

Based on my test, it seems correct.Could you show us the sample data or the screenshot?

1.png

Regards,

Cherie 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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