Forum Discussion
gauri
5 years agoHelper III
How do i display binary values for multiple column values only once
Hello all, Below is the screen shot for reference : I want to write a dax for my status column in which it will display either 1 or 0 based on quantity, so for eg from the screen shot q...
- 5 years ago
gauri ,Add an index column in power query first https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
Try a new column like in dax like
if([Index] = minx(filter(Table, [Id] = earlier([id])),[Index]),1,0)
amitchandak
5 years agoSuper User
gauri ,Add an index column in power query first https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
Try a new column like in dax like
if([Index] = minx(filter(Table, [Id] = earlier([id])),[Index]),1,0)
- gauri5 years agoHelper III
amitchandak Thank you , that worked