Forum Discussion
Waseem
Helper III
9 years agoCalculating Cumulative Monthly Totals
Hello Power BI Gurus I am stuck up with a situation, for which I have seen many solutions. However, nothing worked for me as I have more columns in my table. I need to calculate Monthly Cumulativ...
- 9 years ago
Waseem, oh i'm sorry for missing in quickly typing. there is misssing filter in the expression:
Cumulative_Actual = CALCULATE ( SUM ( 'TB'[Actual_KD] ), filter( ALL ( 'Dates' ), 'Dates'[Date] <= MAX( 'Dates'[Date] )) )please kindly try again with calculated measure
harshaduggi
4 years agoFrequent Visitor
I need a column where it has to show the count as per the MonthNo. Need help Urgent
- Ashish_Mathur4 years ago
Super User
Hi,
Write this calculated column formula
=month(Data[Month])
Hope this helps.
- harshaduggi4 years agoFrequent Visitor
sorry i was not clear earlier. how about if the project extends for next year. please see below picture
- Ashish_Mathur4 years ago
Super User
Hi,
This calculated column formula works
=DATEDIFF(CALCULATE(MIN(Table1[Month]),FILTER(Table1,Table1[Project]=EARLIER(Table1[Project]))),Table1[Month],MONTH)+1Hope this helps.