Forum Discussion
gauri
Helper III
5 years agoHow 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
Super User
5 years agogauri ,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)
gauri
Helper III
5 years agoamitchandak Thank you , that worked