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
I'm trying to create a column that shows the monthly totals next to each line in the month.
This is what I want it to look like:
This is how the two tables are joined:
This has been my best guess:
Solved! Go to Solution.
hello @bonjourposte
please check if this accomodate your need.
1. create calculated column for month number
2. create calculated column for calculating sum of number
Desired Monthly Total =
SUMX(
FILTER(
'Table',
'Table'[Month]=EARLIER('Table'[Month])
),
'Table'[BMAX]+'Table'[DE]+'Table'[HDIF]+'Table'[HDIV]+'Table'[HMAX]+'Table'[HYLD]+'Table'[ZWC]
)
Hope this will help you.
Thank you.
Please provide data we can work with - preferably your data file.
How is it 'not working'? I can't tell what you expect the result to be - please show an example of the result you want.
Regards
Phil
Proud to be a Super User!
Sorry I should've highlighted the last column. I want the results in the last column like this:
Does that help? I just keep getting #ERROR messages.
hello @bonjourposte
please check if this accomodate your need.
1. create calculated column for month number
2. create calculated column for calculating sum of number
Desired Monthly Total =
SUMX(
FILTER(
'Table',
'Table'[Month]=EARLIER('Table'[Month])
),
'Table'[BMAX]+'Table'[DE]+'Table'[HDIF]+'Table'[HDIV]+'Table'[HMAX]+'Table'[HYLD]+'Table'[ZWC]
)
Hope this will help you.
Thank you.
Thanks, it worked, I never thought of EARLIER. I have two July entries from two years, so they added together, so I combined the month/year columns and it worked.
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 |