Hi @Nishant77Goel ,
If the result of [Selected Parameter] is text, it cannot be compared with Date, and the format is different.
If you want to compare the value of Filter with TODAY()-180 directly, you can try the following formula directly:
Last 180 days flag =
var _select=SELECTEDVALUE('Table'[date value order])
If the results don't meet your expectations, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.