How to pick mid value in Rtc

Lamba
Member Posts: 263
Hi Experts,
I have a customized report for which some Discount calculation is done in classic.
I have developed the Rtc report for the same, Discount calculation part was flowed from classic to Rtc via a
variable, to get the value of that variable last(Exp) is used in Expression, but in my case there is another fields which get calculated at the end and so the value of the variable at the last is Blank, so it pick the Blank value instead of the required value.So how could i pick the mid value in Rtc.
Screenshot attaced.(About this Report).
I have a customized report for which some Discount calculation is done in classic.
I have developed the Rtc report for the same, Discount calculation part was flowed from classic to Rtc via a
variable, to get the value of that variable last(Exp) is used in Expression, but in my case there is another fields which get calculated at the end and so the value of the variable at the last is Blank, so it pick the Blank value instead of the required value.So how could i pick the mid value in Rtc.
Screenshot attaced.(About this Report).
0
Comments
-
I think it's a problem of where you print that value, the "mid" function does not exist
.
Could you attach the screenshot of VS layout?~Rik~
It works as expected... More or Less...0 -
hi,
Can you please how that value be picked up. The value is printed at the footer of the table.0 -
Without seeing the layout I can only suppose ...
You could create a group in the table, move the value in the group's footer and leave the "last" function.
creating the group the last function will retrive the last record of that group and you should get what you need.~Rik~
It works as expected... More or Less...0 -
If last value is the highest of all and if you want to display that value then you can use Max() function. There is no function to get mid value you have to create another variable in classic and assign the desired value in it and use that field to display it in RTC.0
-
Today I had the possibility to test what I suggested you.
In report of our customer I had the same situation as you.
I've to print the yellow value and after this line I've 2 blank lines (see attachment 1).
Solution:
1. created a group in the table
2. moved value from Table Footer to Group Footer
3. Field called with "Last" Function.
4. Test -> It works (see attachment 2)
~Rik~
It works as expected... More or Less...0 -
Thanx Paradise.0
-
Welcome.~Rik~
It works as expected... More or Less...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions