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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, I have a below table.
Date | ID | Status |
08-05-2024 | 1234 | 10 |
08-05-2024 | 1234 | 20 |
08-05-2024 | 4321 | 25 |
07-05-2024 | 123456 | 100 |
I need to create the below logic:
Check if the ID is same, if so sum the status of the job ids.
I created the Duplicate column using the below DAX, and now I stuck on creating the New Column.
Duplicate =
VAR CurrentText=Data[ID]
VAR _count = COUNTROWS(
FILTER(
'Data',
Data[ID]=CurrentText
)
)
RETURN
IF(_count>=2, true, false)
My expected output is as below:
Date | ID | Status | Duplicate | New Column |
08-05-2024 | 1234 | Committed | TRUE | 30 |
07-05-2024 | 1234 | Running | TRUE | 30 |
08-05-2024 | 4321 | Failed | FALSE | 25 |
07-05-2024 | 123456 | Killed | FALSE | 100 |
Kindly help me on this solution
@amitchandak , @Greg_Deckler @lbendlin , @DesktopOwl @Goodlytics4U @help Ahmedx @Ahmedx @lbendlin @v-huijie-msft
Solved! Go to Solution.
you can create columns
Proud to be a Super User!
you can create columns
Proud to be a Super User!
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 |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |