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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Unique value of column based on min of other column

harshvp07_0-1595407159183.png

In the above figure, pair ID 150-151 & 57-58 are getting repeated as the Development Status is different. Is there a way to show only unique pair ID based on Min(Development Status). So, Pair ID 150-151 should show only Development Status - (1- Roadmap), similarly 57-58 Pair ID should show Development Status - (1- Roadmap). Let me know if there is a way to solve this?

2 ACCEPTED SOLUTIONS

@Anonymous , in-display if all are un summarize and status is the min/first this should happen.

Find attcahed file after signature

 

Unless you need a measure. There you can use firstnonblankvalue

refer : https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak

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

View solution in original post

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may create column to get the Status number, then create measure Filter1  ,  put measure Filter1 in the Visual Level Filter of table visual  , and setting the Filter1 as "is not blank".

 

Column :
NumberSatus = LEFT(Table1[Development Status],1)



Measure:

Filter1 = var _MinStatus= CALCULATE(MIN(Table1[NumberSatus]), ALLEXCEPT(Table1,Table1[Pair]))

RETURN

IF(MAX(Table1[NumberSatus])= _MinStatus, 1, BLANK())

145.PNG

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may create column to get the Status number, then create measure Filter1  ,  put measure Filter1 in the Visual Level Filter of table visual  , and setting the Filter1 as "is not blank".

 

Column :
NumberSatus = LEFT(Table1[Development Status],1)



Measure:

Filter1 = var _MinStatus= CALCULATE(MIN(Table1[NumberSatus]), ALLEXCEPT(Table1,Table1[Pair]))

RETURN

IF(MAX(Table1[NumberSatus])= _MinStatus, 1, BLANK())

145.PNG

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format?

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
Anonymous
Not applicable

Hello @amitchandak  Here you go, sample data. 

 

PairMarket StatusDevelopment StatusSourceTarget
43-442 - Committed to Market1 - RoadmapAB
43-442 - Committed to Market1 - RoadmapAB
57-583 - Future6 - Cross Division TestedBA
57-583 - Future1 - RoadmapBA
115-116X - Removed from Scope1 - RoadmapBA
115-116X - Removed from Scope1 - RoadmapBA
150-151X - Removed from Scope3 - In ProgressAB
150-151X - Removed from Scope1 - RoadmapAB

 

Output: 

PairMarket StatusDevelopment StatusSourceTarget
43-442 - Committed to Market1 - RoadmapAB
57-583 - Future1 - RoadmapBA
115-116X - Removed from Scope1 - RoadmapBA
150-151X - Removed from Scope1 - RoadmapAB

@Anonymous , in-display if all are un summarize and status is the min/first this should happen.

Find attcahed file after signature

 

Unless you need a measure. There you can use firstnonblankvalue

refer : https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors