Hi everyone
I am a beginner in report writing for MS CRM,this is my question I want to show opportunities on my SQL report based on the probability value e.g
Probability > 80 the select opportunity name,solution,.....etc
else
select select opportunity name,solution,.....etc
I have a value integer value called probability (holds between 1-100)
I want a case statement based on this value
Eg
When probability >80 then select one, two, three
Else
Select one, two three .
End
The columns one,two,three are similar columns but will be selected based on the probability value.
How do I write this statement in the correct SQL syntax?
*This post is locked for comments