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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I would like to add one more columns, which would be equal to the RV line of each set of records.
Column1 Column2 Column3
A RV 100
A AB 80
A AB 30
B RV 200
B AB 120
B AB 70
Would expect:
Column1 Column2 Column3 Column4
A RV 100 100
A AB 80 100
A AB 30 100
B RV 200 200
B AB 120 200
B AB 70 200
Thanks a lot!
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Column4 CC =
MAXX (
FILTER (
Data,
Data[Column1] = EARLIER ( Data[Column1] )
&& Data[Column2] = "RV"
),
Data[Column3]
)
Hi,
Please check the below picture and the attached pbix file.
Column4 CC =
MAXX (
FILTER (
Data,
Data[Column1] = EARLIER ( Data[Column1] )
&& Data[Column2] = "RV"
),
Data[Column3]
)
Thanks a lot!
@jiangxm80 , A new column in DAX
= MAxx(filter(Table, [Column1] = earlier([Column1]) , [Column3] )
Power BI DAX- Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |