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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi All,
I'm new to DAX and am having some trouble with this measure:
I need to SUM 3 columns from different tables, however when I apply a month filter to the page it does not filter the SUM value so I am looking for a solution to filter the measure by month. I have a date table and would like to filter by Month_Year.
Solved! Go to Solution.
Hi @am_i_really ,
I suggest you to create a calendar table and then create relationships between "Calendar" and these three tables.
Calendar =
ADDCOLUMNS (
CALENDARAUTO (),
"Year", YEAR ( [Date] ),
"Month", MONTH ( [Date] ),
"Month_Year", FORMAT ( [Date], "MMMM_YYYY" ),
"YearMonth",
YEAR ( [Date] ) * 100
+ MONTH ( [Date] )
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @am_i_really ,
I suggest you to create a calendar table and then create relationships between "Calendar" and these three tables.
Calendar =
ADDCOLUMNS (
CALENDARAUTO (),
"Year", YEAR ( [Date] ),
"Month", MONTH ( [Date] ),
"Month_Year", FORMAT ( [Date], "MMMM_YYYY" ),
"YearMonth",
YEAR ( [Date] ) * 100
+ MONTH ( [Date] )
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello are you sure you made relationship between the tables?
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |