Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hello All,
need your help, i tried to make an cumulative line as you can see down here. my problem is my formulas sum up all the past quantity and i would like to sum only for 2019 .
Solved! Go to Solution.
Hi @Anonymous ,
Please try to use this one.
a = IF ( YEAR ( MAX ( 'BDD MPS'[GR date th] ) ) = 2019; CALCULATE ( SUM ( 'BDD MPS'[Qty Delivered] ); FILTER ( ALL ( 'BDD MPS' ); 'BDD MPS'[Month GR Date TH] <= MAX ( 'BDD MPS'[Month GR Date TH] ) ) ); BLANK () )
If it doesn't meet your requirement, Kindly share your sample data to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Hi @Anonymous ,
Please try to use this one.
a = IF ( YEAR ( MAX ( 'BDD MPS'[GR date th] ) ) = 2019; CALCULATE ( SUM ( 'BDD MPS'[Qty Delivered] ); FILTER ( ALL ( 'BDD MPS' ); 'BDD MPS'[Month GR Date TH] <= MAX ( 'BDD MPS'[Month GR Date TH] ) ) ); BLANK () )
If it doesn't meet your requirement, Kindly share your sample data to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.