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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Date table has the following fields: (Date field lists each day in the year)
| Date | Start of Month | |
| 1-1-2023 | 1-1-2023 | |
| 1-2-2023 | 1-1-2023 | |
| 3-1-2023 | 3-1-2023 |
Members table has the following fields (has more but for the context of this)
| Created date | Month-Year | |
1-10-2023 | ||
1-2-2023 | ||
3-1-2023 |
I want to add a column to the Members table (named:Month/Year) using the value in "Start of Month" value in the Date table which is equal to the "created date" value in the Members table.
I know -probably basic but haven't used DAX in a while
Thanks!
Jim
Solved! Go to Solution.
@jtpiazzamn Try:
Month/Year Column =
VAR __CreateDate = [Created date]
VAR __Result = MAXX(FILTER('Date',[Date] = __CreateDate), [Start of Month])
RETURN
__Result
@jtpiazzamn Try:
Month/Year Column =
VAR __CreateDate = [Created date]
VAR __Result = MAXX(FILTER('Date',[Date] = __CreateDate), [Start of Month])
RETURN
__Result
Thank you - I forgot to mention that the relationship between the Date Table and the Members Table is "inactive".
hi @jtpiazzamn
Greg's code does not rely on relationship. what issue did you encounter?
When I first started with a table
I then changed it to a bar chart
Then it worked - odd.
It appears to be ok. I thought it was relevant.
I have another question though. When I go to use this column (formatted as Date), when using it in a chart, it reads it as a count only - can't display the value of the date in the column.
I'm confused.
Thank you for helping!
Jim
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |