Forum Discussion
Minimum value subtotal based on specific dates
- 5 years ago
Hi, sunah132
Thank you for sharing.
Please try the below.
Min Value measure =
SWITCH (
TRUE (),
ISINSCOPE ( 'Table'[item] ), SUMX ( VALUES ( 'Table'[Date] ), MIN ( 'Table'[Value] ) ),
SUM ( 'Table'[Value] )
)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
Thank you! I have one last question regarding the Matrix calculation. When there's drill down like this, adding Calculate at SUMX would sum up the entire Hub but not in route level. I have tried adding SUM('Table'[Value]) as route but the visual failed to do so.
Hi, sunah132
Thank you for your feedback.
Please try to replace "isinscope" with "isfiltered".
And try to include the proper column inside the isfiltered DAX function.