Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In Expression editor I have two calculated fields and the values are 19000 and 20000.

On dividing both it has to show 0.95.

But it is displaying error.

What I have tried:

This is my expression

[Agreed_Data] / [Current_Forecast_Data]


For Agreed Data the expression is

ToLong(Iif([txt_IPNumber_Status] = 'Agreed' And [txt_CalendarWeek] = [Present_Week], [int_IPNumber_Count], 0))


Here Present_Week is Parameter

For Current_Forecast_Data the expression is

ToLong(Iif([txt_IPNumber_Status] = 'Current Forecast' And [txt_CalendarWeek] = [Present_Week], [int_IPNumber_Count], 0))


I want to add display these values into dashboard textbox.

Please suggest me
Posted
Comments
ZurdoDev 21-Jun-17 8:01am    
The error will tell you what the problem is. Please share the error with us.
Patrice T 21-Jun-17 15:22pm    
"But it is displaying error."
ERROR WHAT ?
TarunKumarSusarapu 22-Jun-17 5:06am    
I tried to add field in the textbox in devexpress dashboard and it is showing error on displaying the value and it's been solved.Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900