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
Hello,
I'm trying to build a column that is filled with the value from another column.
Fill the column with the total income for that particular month
(For clarity, the value would change depending on the month)
Any suggestions?
Solved! Go to Solution.
Hi,
try the below whether it works for your dataset.
If you have more columns to be included in the condition, you can try to add more into the below by using && function.
Rev for month CC =
MAXX (
FILTER (
'your table name',
'your table name'[acct] = "Total Income"
&& 'your table name'[month] = EARLIER ( 'your table name'[month] )
),
'your table name'[value]
)
Hi,
Based on what I see on the screenshot, please try the below for creating a new column.
Rev for month CC =
MAXX (
FILTER ( 'your table name', 'your table name'[acct] = "Total Income" ),
'your table name'[value]
)
Thanks! We're close, but i need the Income to be displayed for the respective month.
Your code will populate the maximum value for all months.
ie. for all Jan rows, i need Jan income, for Feb rows, I need Feb income etc.
Hi,
try the below whether it works for your dataset.
If you have more columns to be included in the condition, you can try to add more into the below by using && function.
Rev for month CC =
MAXX (
FILTER (
'your table name',
'your table name'[acct] = "Total Income"
&& 'your table name'[month] = EARLIER ( 'your table name'[month] )
),
'your table name'[value]
)
Excellent - Thank you! Exactly what I was looking for.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |