Forum Discussion

cottrera's avatar
cottrera
Post Prodigy
5 years ago
Solved

Countblank & Max

Hi

 

The senerio is I have a table of repair jobs by agent, job age and comments. I want to know the Oldest (Max) Job age for any jobs with BLANK comments. I will be slicing the results by agent. 

 

I would expect this result from the table below.

 

Results

AgentMAX Job Age , Commens BLANK
Jon18
Jim47

 

 

Jobs table

RefAgentJob AgeComments
113Jon4sfodagodsjl
551Jon18 
189Jon22dsgjsoigri
525Jon5ghl;jfsoifjl
445Jon12lksgjlskfjlkf
407Jon14 
213Jim43 
515Jim35sdgsfjgsj
146Jim47 
216Jim35 
170Jim7 
296Jim18sgsifjosfjhl

 

 

What DAX would you suggest I use to acheive this.

 

RIchard

2 Replies