Forum Discussion
DAX Formula Error
Hi Experts
I cannot see my error in the following DAX
MColumn =
Calculate(Max('P' [MColumn]),FILTER('P,'P' [Curve] = Input[Curve] &&
'P,'P' [Product] = Input[Product]))
Hi, Anonymous
I am not quite sure about what you are trying to analyze by your measure, but please try something like the below.
MColumn =
CALCULATE (
MAX ( 'P'[MColumn] ),
FILTER ( 'P', 'P'[Curve] = Input[Curve] && 'P'[Product] = Input[Product] )
)Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
3 Replies
- amitchandakSuper User
Anonymous , small changes
MColumn =
Calculate(Max('P'[MColumn]),FILTER('P','P'[Curve] = Input[Curve] && 'P'[Product] = Input[Product]))- AnonymousNot applicable
What Changes Amit?
- Jihwan_KimSuper User
Hi, Anonymous
I am not quite sure about what you are trying to analyze by your measure, but please try something like the below.
MColumn =
CALCULATE (
MAX ( 'P'[MColumn] ),
FILTER ( 'P', 'P'[Curve] = Input[Curve] && 'P'[Product] = Input[Product] )
)Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM