Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
mnsen
Frequent Visitor

How to keep only one value in a column with repeated (similar values) per record

Hi, 
What I am trying to do is demonstrated in the following tables. So if there are repeated values in the last column (estimate) per customer in the same year, I want to keep only one value and leave the other ones blank. These repeated values are from the data source, which I have no control on. I tried group by but it did not work:

mnsen_0-1603159338306.png

Thanks!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Based on the limited dataset you have shared, try this calculated column formula

=if(Data[Transaction]>1,blank(),Data[Estimate])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Based on the limited dataset you have shared, try this calculated column formula

=if(Data[Transaction]>1,blank(),Data[Estimate])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@mnsen , Create a new column like

new estimate = if([transaction] = minx(filter(Table, [Year] =earlier([year]) && [customer] =earlier([customer])),[transaction]), [estimate], blank())

 

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.