Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
hi,
I have a table that has duplicate records (CAK) I would like to group by (CAK) and the STATUS field bring the "P", is there any way?
thanks
Solved! Go to Solution.
Hi @Spotto ,
Can you enter the power query editor? It's easier to complete in power query.
1.Right-click the CAK column and select Group by.
2.Operation select All Rows.
3.Add a custom column.
= Table.FillDown([Count],{"STATUS"})
4.Remove the Count column, and expand the custom column.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Spotto ,
Can you enter the power query editor? It's easier to complete in power query.
1.Right-click the CAK column and select Group by.
2.Operation select All Rows.
3.Add a custom column.
= Table.FillDown([Count],{"STATUS"})
4.Remove the Count column, and expand the custom column.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Spotto
Try this code to create a new Column with DAX:
New Column =
IF (
ISBLANK ( [CAK] ),
CALCULATE (
MAX ( [STATUS] ),
FILTER ( ALL ( table ), [CAK] = EARLIER ( [CAK] ) )
),
[STATUS]
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
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 |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |