Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Currently I have 9 sheets to convey backlog conditions for 9 units designated by letters. If I can parse the variable in two spots in the expression, I can reduce 9 sheets to one sheet and add much better understanding. The full expression looks like this now:
sum({$<csp_calendar.plan_facility_cd={'B'}>}csp_calendar.plan_tons * [yield.b])
The variable that is set from the variable input extension is Facility_Backlog. The values for this variable take the form "b_backlog_type", "p_backlog_type", or "c_backlog_type", etc. I need to parse the first letter in the variable's value (i.e. blue letter) and insert it in the two places highlighted by red in the original expression above:
Any help would be greatly appreciated.
Thanks,
Jordan
Thank you for replying, Shwethaa! Ultimately, I decided to handle most of this with variables and it works beautifully. I still parse the elements I need from the data fields, but do so in the variables declaration. It's much easier to manage too.
This is the full expression now:
=sum({$<$(vPlan_Facility)={$(vFacility)}>*<$(vFacilityPlanDate)={"$(=Date(vRep_Date))"}>}$(vFacilityPlanTons) * $(vYield))
And a snippet of how the single screen looks, compared to having 9 different sheets.
Hi Jordon,
Try below expression in the set expression:
1)
'$(=Capitalize(left('$(Facility_backlog)',1)))'
2)
'$(=left('$(Facility_backlog)',1))'
Let me know if this works.
Regards,
Shwetha A
Thank you for replying, Shwethaa! Ultimately, I decided to handle most of this with variables and it works beautifully. I still parse the elements I need from the data fields, but do so in the variables declaration. It's much easier to manage too.
This is the full expression now:
=sum({$<$(vPlan_Facility)={$(vFacility)}>*<$(vFacilityPlanDate)={"$(=Date(vRep_Date))"}>}$(vFacilityPlanTons) * $(vYield))
And a snippet of how the single screen looks, compared to having 9 different sheets.