Forum Discussion
Anonymous
6 years agoNot applicable
Pulling distinct Value based on Matching Condition
How can we pull distinct column value from one table based on matcing condition from a another column like Date
Anonymous
6 years agoNot applicable
Greg_Deckler thanks for the response
I want to pick unique user name where date = 'latest'
The table has a username column and date columns which has old and latest values .I want to unique from the columns where date is latest .
amitchandak
Super User
6 years agoAnonymous ,
lastestnonblankvalue(Table[date],max(Table[UseNAme]))
Refer
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
- Anonymous6 years agoNot applicable
amitchandak will this be creating a new table ? I have pasted the sample data on the previous comments and the desired output.
Please suggest
- Greg_Deckler6 years ago
Community Champion
Anonymous - I *think* you want:
New Table = DISTINCT( SELECTCOLUMNS( FILTER('Table',[Latest_VM]="Latest"), "VM Name",[VM Name] ) )