Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Experts
How would you modify the following DAX so the table includes the current month in full...and filters out future months | periods
_MonthYearTable =
DISTINCT(
SELECTCOLUMNS(
FILTER(
'Financial Datasets',
'Financial Datasets'[Date] <= TODAY() -- Filter out future dates
),
"MonthYear", FORMAT('Financial Datasets'[Date], "mmm yy"),
"Year", YEAR('Financial Datasets'[Date]),
"_MonthYearSort", FORMAT('Financial Datasets'[Date], "YYYYmm")
)
)and
Solved! Go to Solution.
Use eomonth( today(), 0 )
_MonthYearTable =
DISTINCT(
SELECTCOLUMNS(
FILTER(
'Financial Datasets',
'Financial Datasets'[Date] <= EOMONTH(TODAY(),0)
),
"MonthYear", FORMAT('Financial Datasets'[Date], "mmm yy"),
"Year", YEAR('Financial Datasets'[Date]),
"_MonthYearSort", FORMAT('Financial Datasets'[Date], "YYYYmm")
)
)
Use eomonth( today(), 0 )
_MonthYearTable =
DISTINCT(
SELECTCOLUMNS(
FILTER(
'Financial Datasets',
'Financial Datasets'[Date] <= EOMONTH(TODAY(),0)
),
"MonthYear", FORMAT('Financial Datasets'[Date], "mmm yy"),
"Year", YEAR('Financial Datasets'[Date]),
"_MonthYearSort", FORMAT('Financial Datasets'[Date], "YYYYmm")
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |