Forum Discussion
Report builder SSRS - calculated field based on other field and condition
- 4 years ago
Hi FarhanBAE ,
Maybe you can try code like this:
=IIF(IsNothing(Fields!Q3Value),
Fields!Q1.Value*0.15+Fields!Q2.Value*0.15+Fields!Final.Value*0.70,
Fields!Q1.Value*0.10+Fields!Q2.Value*0.10+Fields!Q3.Value*0.10+Fields!Final.Value*0.70)Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi FarhanBAE ,
Maybe you can try code like this:
=IIF(IsNothing(Fields!Q3Value),
Fields!Q1.Value*0.15+Fields!Q2.Value*0.15+Fields!Final.Value*0.70,
Fields!Q1.Value*0.10+Fields!Q2.Value*0.10+Fields!Q3.Value*0.10+Fields!Final.Value*0.70)
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.