Forum Discussion
CJKPowerBI
Helper I
3 years agoformula in excel make it in PowerBi
Hello all, i have the below formula in excel which basically checks today's date and if before this month 23rd day then it puts the 15th of this month, if todays date is more than 23rd of this mo...
- 3 years ago
Please try
Amount to be paid on = IF ( OR ( [Charge] = "Text 1", [Charge] = "Text 2" ), IF ( DAY ( [Transcation Date] ) <= 23, DATE ( YEAR ( [Transcation Date] ), MONTH ( [Transcation Date] ) + 1, 15 ), EOMONTH ( [Transcation Date], 1 ) + 15 ), [Transcation Date] )
tamerj1
Community Champion
3 years agoPlease paste your formula here in order to be able to amend.
CJKPowerBI
Helper I
3 years ago
Below is the formula:
Amount to be paid on = IF(OR(([Charge]="Text 1"),([Charge]="Text 2")),IF(DAY([Transcation Date]<=23,DATE(YEAR([Transcation Date],MONTH([Transcation Date])+1,15),EOMONTH([Transcation Date],1)+15),[Transcation Date])
- tamerj13 years ago
Community Champion
Please try
Amount to be paid on = IF ( OR ( [Charge] = "Text 1", [Charge] = "Text 2" ), IF ( DAY ( [Transcation Date] ) <= 23, DATE ( YEAR ( [Transcation Date] ), MONTH ( [Transcation Date] ) + 1, 15 ), EOMONTH ( [Transcation Date], 1 ) + 15 ), [Transcation Date] )- CJKPowerBI3 years ago
Helper I
thank you tamerj1 that worked great...