Forum Discussion
Yucy
Helper I
6 years agoNeed help on if statement DAX
Hello all, I have a small table with category and state, I am looking for a new column. Can anyone help? Example is below:
- 6 years ago
Try like
Column = var _res = COUNTX(filter(Sheet1,[State]="Resolved" && [Category] =EARLIER([Category])),[Category])+0 return if([State]="Resolved" && _res>0, [State],if([State]="Closed" && _res=0,[State],BLANK()))File attached after signature
v-yuta-msft
Community Support
6 years agoYucy ,
I'm still not understand of the logic of how to create 'new column' you mentioned, could you please clarify more details?
Regards,
Jimmy Tao
Yucy
Helper I
6 years agoThanks for helping, my table has column A and B, Category and State, I need to insert a new column as column C. my if statement never works,