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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hey all,
I think that this has an easy solution, but I'm a little rusty with Power BI.
I've been able to isolate dates that I need based on other parameters, which allowed me to establish a CC and OA date per SOW. (SOW, CC and OA are good.)
Now I need to calculate the columns for New CC and New OA. These are just a repeat of the values from CC and OA, but the value fills every row, based on SOW. The general logic is 'for each row in SOW X, look for a date in column CC and populate to all rows in New CC'. Repeat for OA/New OA.
Can anybody point me in the direction of which function I should use? I understand that this is probably also solvable with PowerQuery but for reasons I want to solve it in DAX.
SOW | CC | OA | New CC | New OA |
1111 | 1/30/2021 | 2/3/2021 | ||
1111 | 1/30/2021 | 2/3/2021 | ||
1111 | 1/30/2021 | 1/30/2021 | 2/3/2021 | |
1111 | 1/30/2021 | 2/3/2021 | ||
1111 | 2/3/2021 | 1/30/2021 | 2/3/2021 | |
2222 | 3/6/2021 | 3/10/2021 | ||
2222 | 3/6/2021 | 3/10/2021 | ||
2222 | 3/6/2021 | 3/6/2021 | 3/10/2021 | |
2222 | 3/10/2021 | 3/6/2021 | 3/10/2021 | |
3333 | 2/18/2021 | 3/20/2021 | ||
3333 | 3/20/2021 | 2/18/2021 | 3/20/2021 | |
3333 | 2/18/2021 | 3/20/2021 | ||
3333 | 2/18/2021 | 2/18/2021 | 3/20/2021 | |
3333 | 2/18/2021 | 3/20/2021 | ||
4444 | 6/1/2021 | 6/15/2021 | ||
4444 | 6/1/2021 | 6/15/2021 | ||
4444 | 6/1/2021 | 6/15/2021 | ||
4444 | 6/1/2021 | 6/1/2021 | 6/15/2021 | |
4444 | 6/15/2021 | 6/1/2021 | 6/15/2021 | |
4444 | 6/1/2021 | 6/15/2021 |
Solved! Go to Solution.
Hi @Anonymous
Create calculated columns:
New CC =
CALCULATE ( MAX ( Table1[CC] ), ALLEXCEPT ( Table1, Table1[SOW] ) )
New OA =
CALCULATE ( MAX ( Table1[OA] ), ALLEXCEPT ( Table1, Table1[SOW] ) )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @Anonymous
Create calculated columns:
New CC =
CALCULATE ( MAX ( Table1[CC] ), ALLEXCEPT ( Table1, Table1[SOW] ) )
New OA =
CALCULATE ( MAX ( Table1[OA] ), ALLEXCEPT ( Table1, Table1[SOW] ) )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Thanks millions! This is exactly it!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |