How to extract specific data based on input frequency

Hi @Baby123

Is the below solution is not worked for you, same query you have raised in the below post right.