Forum Discussion
data is getting Aggregated / Dax help
- Anonymous2 years ago
Hi Madhu155154 ,
Something like this?This is because you can't reference columns directly in measures, you have to use them in conjunction with aggregate functions. This is because it is calculated in the filter context. The computation environment for a column is the row context, it can reference the column directly.
Try this.
= Var Res_ = AVERAGE(Append1[Req - CV share] ) return if( ISBLANK(MAX('Append1'[CV date])),"",Res_)
Hi Madhu155154 ,
Something like this?This is because you can't reference columns directly in measures, you have to use them in conjunction with aggregate functions. This is because it is calculated in the filter context. The computation environment for a column is the row context, it can reference the column directly.
Try this.
=
Var Res_ = AVERAGE(Append1[Req - CV share] )
return
if( ISBLANK(MAX('Append1'[CV date])),"",Res_)
Thank you Anonymous , i used the same approach, I used MIN instead of max, and it worked. But anyway
Thank you, for your support