You can make use of this:
MTD Budget = SUMX(Budget,
Budget[Budget] *
IF(MONTH(TODAY()) <= MONTH(Budget[PostDate], 1, BLANK()) *
IF(MONTH(TODAY()) = MONTH(Budget[PostDate]),
DIVIDE(DAY(TODAY()), DAY(EOMONTH(Budget[PostDate],0))), 1))
Preparing for Power BI exam? Check out Power BI Syllabus now!