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
I have data like this and I and I want the output as in Total column where it should sum only the distinct values from amount for each id. How do I achieve this?
| Id | Amount | Total |
| 1 | 10 | 30 |
| 1 | 10 | 30 |
| 1 | 20 | 30 |
| 1 | 10 | 30 |
| 2 | 20 | 50 |
| 2 | 20 | 50 |
| 2 | 30 | 50 |
| 2 | 20 | 50 |
| 2 | 20 | 50 |
| 2 | 30 | 50 |
Solved! Go to Solution.
Hi, @bml123
Please check the below picture and the formula for creating a new column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, @bml123
Please check the below picture and the formula for creating a new column.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
@bml123 , if need a column, That was measure
Column = sumx(DISTINCT(SELECTCOLUMNS(filter('Table',[Id] =EARLIER('Table'[Id])),"Amt",[Amount])),[Amt])
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!