DevExpress XtraReport - Round Down - vb.net

Can you tell me how to do rounding like in crystal report? eg: round([field],-2)
How to do Round like the example above. Like we did on Crystal Report. I want to do rounding down on DevExpress XtraReport.
If it value eg. 2514942 I want output: 2514900
Thank you..

you can use CalculatedField for such functionality
add calc field on the same level as your "[field]"
assign to the calc field the expression like "Round([field] / 100, 2) * 100" to reset last two numbers
bind your control to newly created calc field
also here tutorial for the calc fields

Related

How to create a range picker for a variable in Qlik?

I'm new to Qliksense and I would like to select and visualise all datapoints in my table based on the value of a variable called NoOfPersons, similar to the date-range picker. How can I do this? I have attached a sample image below:
Under the Custom Objects the Qlik Dashboard bundle select the variable input object
Then under the variable options select the slider option
I don't know how to make it look like your example but it will provide the functionality you want

QlikView aggr more than one value excluded in list box

I have a list box that is powered by an expression to hide 1 value.
=aggr(only({<[name]-={John}>}[name]),[name])
But i want to add a second name to this. I have tried...
=aggr(only({<[name]-={John, Alan}>}[name]),[name])
And
=aggr(only({<[name]-={John}, {Alan}>}[name]),[name])
Single quotes are required to indicate explicit values:
=aggr(only({<[name]-={'John', 'Alan'}>}[name]),[name])

Chart data does not link to interactive report page in APEX

I am attempting to create a link in an APEX (Oracle) chart which will open an interactive report page by using the "Link Builder -Target" wizard.
Link Builder -Target Dialog]1
Unfortunately the link is passing the column name (bob) rather than it's value:
https://xxxxxxxxx.xxxx.xxx:xxxx/ords/f?p=100:51:19910173095277::NO:RP,51:P51_TARGET_FIELD:#BOB#
If I substitute a value for #BOB#, the interactive page opens properly.
How do I get APEX to pass the column value rather than the column name to the linked page?
Is BOB a chart column?
If not in the Link Builder, use the selector on 'Value' to select the corresponding column from the chart, such as #NAME#.
Regards,
David
Page Designer vs Legacy Component View
Apex 5.0 still using anychart charts, but using Page Designer the query of the chart is not validate. If you change to Legacy Component View you must see a error on save the chart with this query.
The selects in anychart charts need a query following these terms:
*BOB column is not valid to use on Link Builder Target
Try to put the value of the BOB column in the LINK column, like:
SELECT
bob AS LINK,
or use APEX_UTIL.PREPARE_URL, in this case it's not necessary to use Link Builder Target.
...
The query needs only three columns called LINK, LABEL and VALUE. Use alias to make this.
SELECT
APEX_UTIL.PREPARE_URL
('f?p=&APP_ID.:14:&APP_SESSION.::::P14_RECIEVER,P14_VALUE:' || bob || ',' || quantity) AS LINK,
month AS LABEL,
quantity AS VALUE
FROM mytable
https://apex.oracle.com/pls/apex/f?p=4550
Workspace: STACKQUESTIONS
User: test
Password: test
Issue page: https://apex.oracle.com/pls/apex/f?p=145797:10

Crystal reports Record number not including "suppressed records(detail section)"

How can get the record number in details section not including the suppressed?
I have tried the following:
1. Right Click on any of the fields and select "Format Field.."
2. In the "Format" editor, go to "Common" tab.
4. Now go to the formula button "X+2" beside "Display String" and place the following code:
numberVar x;
WhilePrintingRecords ;
x:=x+1;
ToText({Employee.Employee ID},0) \\<Database Record>
Created formula #aa and placed the following code:
numberVar x;
WhilePrintingRecords ;
x
but it gives me a record number starting from 0. I want it to start from 1. can anybody help me?
I Used of this way and formula in my section :
Format Section -> [My Section] -> Suppress(No Drill Down)
{mydataSet_TTX.IsValid}= 0
And Use A Running total with count filed For Row Number Then For Prevention Record That not show in report "that Suppressed" Use This formula for Running Total
Your Running Total -> Right Click -> Edit Running Total - > Evaluate
-> Use a formula
NOT({mydataSet_TTX.IsValid}= 0)
After change this parts , save report design and get preview … row number is corrected ... Record number not including “suppressed records(detail section)”
good luck.

Reporting Services - aligning Layout direction Tablix dynamic

Deal All,
Is there a way to have same report show in both layout direction based on parameter?
I have two data set one for label and one for data based on specific parameter show the labels
needed and the data needed but i am unable to switch the lay out direction it keeps LTR.
I need if anyone have an idea to change the layout direction from parameter.
I am having 50 reports and i don't like to have 150 reports because i am having 3 language.
I don't need to change the design of reports if there a new adding columns or changing columns.
I did it in data base by sending paramater name of the report and then get the dataset for it and then use the parameter of language to get label and data.
thanks in advance
I dont know if this helps, because I have no experience with RTL, however if you select a TextBox and open the properties via F4, you can select for the text direction not only LTR or RTL but also an expression. Maybe this gives you the flexibility, you are looking for?
Please right click on the report and choose view code or press F7 and insert below code for the field:
<Style>
<FontFamily />
<TextAlign>Right</TextAlign>
</Style>
and
<Direction>RTL</Direction>