Parent Account Product Nature Month Period Days Year Values
1 101 A Brown Jan 2015 1 31 2015 50
1 101 B Brown Jan 2015 1 31 2015 90
1 102 A Brown Jan 2015 1 31 2015 20
1 102 B Black Feb 2015 2 28 2015 10
2 101 A Black Feb 2015 2 28 2015 30
2 101 B Black Mar 2015 3 31 2015 40
How to Sum the No of days only once Upon each month change. I have tried using distinct formula SUMX(DISTINCT(RSF[Month]),SUM(RSF[Days])). I want to use this result further into some other calculation and expected result should be March 31 days + Feb 28 days+ Jan 31 Days = Total 90 days but I am getting instead my numbers in more than 1000 no of days. Thanks in advance.
1 101 A Brown Jan 2015 1 31 2015 50
1 101 B Brown Jan 2015 1 31 2015 90
1 102 A Brown Jan 2015 1 31 2015 20
1 102 B Black Feb 2015 2 28 2015 10
2 101 A Black Feb 2015 2 28 2015 30
2 101 B Black Mar 2015 3 31 2015 40
How to Sum the No of days only once Upon each month change. I have tried using distinct formula SUMX(DISTINCT(RSF[Month]),SUM(RSF[Days])). I want to use this result further into some other calculation and expected result should be March 31 days + Feb 28 days+ Jan 31 Days = Total 90 days but I am getting instead my numbers in more than 1000 no of days. Thanks in advance.