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))
To avoid duplicating tables, use a Star Schema with fact tables for detailed data and dimension tables for summary data. You can also create aggregated tables using DAX and apply Row-Level Security (RLS) for user-specific data access.
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 ?