Forum Discussion
leandross89
Helper II
2 years agoHelp to creat a calculated column in dax
Hi dear, I would like some help to create a calculated column. This calculated column checks if the value in the "Rule_rank" column is "Rank". If so, it verifies if there are previous records wher...
- Anonymous2 years ago
Hi leandross89 ,
Thanks to Ahmedx for the reply, please allow me to provide another insight:
1. Create a calculated column and populate the data in groups.Column = CALCULATE(MIN('Table'[Index]),FILTER(ALL('Table'),'Table'[Rule_rank] = "Rank" && 'Table'[Index] >= EARLIER('Table'[Index])) )2. Create a calculated column and display OK if it meets the conditions.
Column 2 = IF('Table'[Index] < 'Table'[Column] && 'Table'[Searched] = 367 && 'Table'[Code] = "A" ,"OK")If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
leandross89
Helper II
2 years agoYou created a column called flag, and then, used the function fill up to complete with the value 10 the rows that have code A, It doesn´t works in my case because I have others rows in my index above this period presented.
Ahmedx
Super User
2 years agopost an example so I can help you