Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, I have an extremely large data set. I am looking for a way to remove duplicate values for any given entry. I would like to maintain all the rows however. Is it possible to only show the first occurence based on a specific entry and then just make the duplicate rows blank. Here is an idea of what I'd like my power BI table to look like:
Is this possible? I have over 40 columns in my table and I need all rows.
Solved! Go to Solution.
Depending on what the desired output is, you can create a solution through a DAX measure. For example, if in your report you want to have the Total Amount (your last column) sum the unique values from Total Amount (your second column), the duplicates are fine. You would create a measure that sums the min/max/average using an iterator function of SUMX.
For example, I entered the following data which matches your first two columns:
Now, assuming you want a total of the unique values of total amount per entry you would do the following DAX measure:
Proud to be a Super User! | |
Depending on what the desired output is, you can create a solution through a DAX measure. For example, if in your report you want to have the Total Amount (your last column) sum the unique values from Total Amount (your second column), the duplicates are fine. You would create a measure that sums the min/max/average using an iterator function of SUMX.
For example, I entered the following data which matches your first two columns:
Now, assuming you want a total of the unique values of total amount per entry you would do the following DAX measure:
Proud to be a Super User! | |
Genius!
just one question. why do you need to do such a thing ?
i would rather do the following :
in power query, use the groupby feature : ( you can find it under transform --> groupby )
output :
new table :
this way, you will have the count of entries which is 3 per each entry and sum = 500
groupby configuration
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
The reason I need to do this is because it is the only column in my table that assigns a total value. So when I go to add this up it adds the total multiple times (or however many entry lines there are).
The rest of the values in my table are all allocated correctly per line. So when I go to sum them all is good.
If I group I will lose all the individual line item information I need.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 45 | |
| 38 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 70 | |
| 39 | |
| 29 | |
| 27 |