Forum Discussion
Help needed with measure
- Anonymous3 years ago
Hi Sander1401 ,
I can probably understand your idea from the formula you provided, but I don't correspond to your desired result. I don't know what you expect, such as 9.434 is calculated from the sample data.
For now, you may try this measure
COUNT - IN = CALCULATE ( SUM ( 'Table'[Count] ), FILTER ( ALLSELECTED ( 'Table' ), [Producttype - current month] = MAX ( 'Table'[Producttype - current month] ) && [Producttype - current month] <> [Producttype - last month] ) )Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Sander1401 ,
I can probably understand your idea from the formula you provided, but I don't correspond to your desired result. I don't know what you expect, such as 9.434 is calculated from the sample data.
For now, you may try this measure
COUNT - IN =
CALCULATE (
SUM ( 'Table'[Count] ),
FILTER (
ALLSELECTED ( 'Table' ),
[Producttype - current month] = MAX ( 'Table'[Producttype - current month] )
&& [Producttype - current month] <> [Producttype - last month]
)
)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.