Forum Discussion
Anonymous
5 years agoNot applicable
Summarize with distinct values
Hello everyone! I have a table that i created using summarize: SUMMARIZE('table, 'table'[ID], 'table'[age], 'table'[description]) But there is repeated rows because the "age" For exemple: ...
- 5 years ago
Hello @henriquemalone ,
Create a column as shown below:
Column = var _previousid=CALCULATE(MAX('Table'[ID]),FILTER('Table','Table'[ID]=EARLIER('Table'[ID])&&'Table'[Age]<EARLIER('Table'[Age]))) Return IF(_previousid=BLANK(),'Table'[Description],BLANK())Next, you'll see:
For the related .pbix file, see attachment pls.
Saludos
KellyHave I answered your question? Mark my position as a solution!
v-kelly-msft
5 years agoCommunity Support
Hello @henriquemalone ,
Create a column as shown below:
Column =
var _previousid=CALCULATE(MAX('Table'[ID]),FILTER('Table','Table'[ID]=EARLIER('Table'[ID])&&'Table'[Age]<EARLIER('Table'[Age])))
Return
IF(_previousid=BLANK(),'Table'[Description],BLANK())
Next, you'll see:
For the related .pbix file, see attachment pls.
Saludos
Kelly
Have I answered your question? Mark my position as a solution!