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!
Also Read: Do we need to have PL-900 certification before giving PL-300 exam ?