Need 100% value in my reslt.
Hi BI experts,
Need your valuable feedback.
Actally I have one field C in my query designer, which gets value from A and B . C is calculated as A * B. If one of my value of A or B is euals to 0(zero), I suppose to change the value as 1 and my result of C shold get 100% guranteed value.
Please reply me if anyother option is suitable for 100% result.
Regards,
Kalpana.
Hi Kalpana,
Try this formula at the front end
(((A <is not eqal to> 0) * A) + ((A == 0) * 1)) * (((B <is not eqal to> 0) * B) + ((B == 0) * 1))
Hope it works for you.
Regards,
Satyam
Edited by: satyam bhardwaj on May 16, 2011 11:42 AM
Similar Messages
-
Making an average of the last 100 values?
Hi everyone,
I am acquiring a signal every 1000mS with Labview 7.1. I need to make an average of the last 100 values every 1000mS. I know how to do this with shift registers but it would be a bit long to do it this way...There must be a better way
Would anybody have an example of an array that takes into consideration the new value that has just been acquired, so that I can make an average of the array?
Thank you very much for your help,
TotoHi Toto,
Here is the first thing I thought of. Initialize an array of 1000 elements, and replace an element each iteration of the loop. Use the Quotient and Remainder function along with the iteration count of the loop to replace the oldest element in the array. Add the array and divide by 1000 in each iteration to get the current average. I've attached the VI (saved in LabVIEW 7.1), along with a screenshot for anyone who wants to see it but doesn't have LabVIEW 7.1 or later.
Good luck,
-D
Message Edited by Darren on 02-05-2006 07:40 PM
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Attachments:
Running_average.vi 11 KB
Running_average.jpg 32 KB -
Need of value mapping and fixed values in (conversions)under graphical map
hi.
helo all.
i just want to know what is the need of value mapping and fixed values in (conversions)under graphical mappping.
can any body explain me with real time example .
waiting for your response.
bye.
regards.
seeta ram.Hi Seetha Ram,
Value mapping: Where we maintain a table of values which are mapped.
based on the incoming value we can send the respective resultant value.
for Eg: for language SAP maintains as EN --> English etc
can u refer these
http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
Re: Value mapping table
Thanks and Regards
Harsha Vardhan.P
**Reward points if found useful** -
What is meaning of top % 100 values in condition
hi ,
i have exact meaning of top % 100 values in conditions.
here when ever i ran report it will come out put different values.
the output comes interms of 6000 records.
Regards,
MuraliMurali what Bhanu mentioned will work as thus...
Assume that you get 3 records......
Vendor| Sales
V1 | 100
V2|200
V3|300
Assume that you have got the query output as above where it sorts on the order of Vendor - but then if you want the same to sort on a KEYFIGURE - Sales - then if you apply this condition you would get
V3|300
V2|200
V1|100
Arun
Hope it helps.... -
Capture, the AED is taking 100% value instead of 50% Import capital purchas
Hi,
Im doing Import po process for capital purchase, when I'm doing migo with excise invoice capture, the AED is taking 100% value instead of 50% , for the remaing its taking 50% only i.e BED, Ecess, Se cess.
So, can anyone tell me, how to rectify the issue???
Please guide me any config.
Thanks
Shitalmanufacturer is entitled for 100 % AED set off in the same year for capital goods
-
Why does my white balance temperature slider have 1-100 values?
Why does my white balance temperature slider have 1-100 values instead of a sliding Kelvin value?
Thanks Rob. I used two Mark III bodies on a job. One had just been sent back from being repaired by Canon and apparently they reset everything. I didn't even check the file type because I only ever shoot RAW.
-
Stop sending me emails Ido not need 100 emails a day clogging up me email. I hav change me message to stop receivinge mails and I am still getting them. STOP STOP
You are NOT talking to Apple here and remember that every time that you post again and someone responds to try to help you, the emails will continue to pour in from those people that are trying to help.
Read these instructions from another discussion and make sure that you are doing everything exactly as stated below.
Anyway first click on your name to get to your homepage/profile. At the top there are three tabs one of which is Notifications, that's number one,. Next look at the right side of the page at the box Actions in there click Manage Email Notifications. Finally click Edit Preferences in the action box and click on Email Notification Preferences.
And make sure that you click on Stop Email notifications in the Actions Box in the upper right corner of this page.
Here is the discussion that I copied the instructions from.
https://discussions.apple.com/thread/3343849 -
CENVAT -23C-II- ADC in j1iex we need 50% value not 100%
Hi,
We have done import PO and wrt the same PO we done GRN and we select excise item tab as capital goods and complete the GRn as part 1.
now we try to complete the J1iex as same vendor excise invoice with capital goods. but we are not getting the CENVAT -23C-II- ADC 50 % debit value as capital for we get 100% but our client required 50%
please suggest me.
Thanks
ShitalHi
maintain account group for CAPE for excise group 40 and company code in following path
spro-Logistic General-taxs on goods movement-india-account determination-specify g/account as per excise transaction
CAPE nothing but capital goods transction
Regards
Kailas -
Need GR Value to be different than PO price
We have a business scenario where I need to build a price in the PO and have only a portion of the condition records update the inventory account on GR. In this particular case, we have an interco stock transport order with billing where we want to receive the material into the target plant at the factory cost of the supplying plant, but track a surcharge into a separate account. Here's an example:
We're going to transfer 100 units worth $1/ea for a total $100 from plant A to plant B. PB00 is set to $1/ea for a total of $100. We want the inventory value in plant B to be $100. We also want to track an extra $.25/ea transfer price markup into a mark up GL account for a total of $25. There's a 2nd condition type Z001 for $.25/EA for a total of $25.
So far, I'm unable to separate out the surcharge when the GR posts to inventory. It's posting $125 to inventory. Does anybody know if we can do this and if so, how?
thanks
ChristieDont use PB00 for such scenarios.
Please create a different pricing procedure.
and have you created a different document type for inter company orders?
i have same kind of setup done in my company. let me know your current scenario detailed, i will provide the detailed solution -
Need 100.555 should be depicted as 000000100555000 ----9(09)V9(06) format
Hi All,
I am writing query. For One column, I am getting some interger value. I need the interger in this format 9(09)V9(06) format.
Ex: if Interger =100.555 , then in my query, it needs to shown as 000000100555000.
Please help me on this.Sure :)
alter session set NLS_NUMERIC_CHARACTERS = ',.';
with data as (select 110.555 my_num from dual union all
select 1123.0999 from dual)
select lpad(regexp_replace(my_num,'^([^.]*)[,.](.*)$','\1'),9,'0')
|| rpad(regexp_replace(my_num,'^([^.]*)[,.](.*)$','\2'),6,'0') result
from data
RESULT
000000110555000
000001123099900Or
alter session set NLS_NUMERIC_CHARACTERS = ',.';
with data as (select 110.555 my_num from dual union all
select 1123.0999 from dual)
select lpad(regexp_replace(my_num,'^([0-9]*)[^0-9](.*)$','\1'),9,'0')
|| rpad(regexp_replace(my_num,'^([0-9]*)[^0-9](.*)$','\2'),6,'0') result
from data
;Edited by: AlanWms on Feb 24, 2011 3:48 PM -
Need right value to Load/Read Velocity Using Input/Return Vectors
I have a servo motor with a encoder feedback of ( 4,000 counts per revolution ), maximum velocity of 6,000 rpm ( 100 rps ). I need to create 3 moving profiles with stroke time of 0.25 mm/sec, 1.0 mm/sec, and 25 mm/sec. I would like to use either Load Velocity VI or Load Velocity in RPM VI whichever is easy to set velocity, distance, and read position of my axis. More, I would like to be able to use onboard variables to set distance, velocity, and read position of the axis using input/return vectors, but I don't know how to set the right values. Do I need a conversion or multiplier number to get the right value?
Any help would be greatly appreciated.
Carlos D' Garcia.Carols –
There is a simple vi on how to do vector moves at the following link (I also attached the file below):
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DF9956A4E034080020E74861&p_node=DZ52480&p_source=External
To have your axes move at different rates, you will have to replace the single ‘Load Velocity in RPM.vi’ that is wired to the Configure Vector Space.flx with three separate Load Velocity RPM.vi’s each with an axis constant (or control) wired to their axis input and the max velocity you want. This way, you will set the maximum velocity for each axis rather than all three at once.
Best of luck with your project! Let me know if you have further questions with this.
Marc C
National Instruments
Applications Engineer
Attachments:
Three-Axis_Vector_Move_with_Position_Monitor.zip 29 KB -
Need sum on all coulumns except for one coulumn needs max value
Hi Gurus,
I have a requirement like:
Say I have 3 columns like C1,c2,c3.
On day1 the record values are 100,150,200
On day2 the record values are 100,150,300
End result ..for column C1 and C 2 I should get sum of them
so the result for C1 as per the above values: 200
c2=300
But for C3 column, I should get only maximum value..like 300 (not sum)...
Using case statement by setting a flag on max report date.. we can do this ..Is there any other that this can be achieved. (In ETL or RPD or Front end)
Thanks.For C3 column instead of showing all values like 200, 300 just show max value only so that you can get output as below and when you sum the value remain 300. Try it out. It can be in rpd or in the report.
On day1 the record values are 100,150,300
On day2 the record values are 100,150,300
mark if make sense
Thanks -
I need default values for APEX form fields. How do I do this?
Hello,
I am trying to set a default value in my form so that there will not get a null value. I have gone to the Column Defaults page and filled out the following fields in From Defaults:
Default Value: 0
Required: Yes
Help Text: Please enter a number.
When I add a record set or update a record and do not fill in the field, neither does it prompt me to fill it in or has a default value. It is blank.
Can someone tell me what I am doing wrong?
Thanks
lehHi leh,
Defaults:
Click on the page item, go to the Default section, enter your value into the Default value area.
Validations:
It's not quite as automatic as you are thinking.
You'll need to add a Validation process for the item.
First you go to the Page Processing section, then the Validations section, click the creation icon in the Validation section. You will first have the choice to create an item level or page level validation. Either will work. Next you will select the item you want to validate. Then, select Item Not Null. On one of the next pages you will be able to enter the error message. It's all pretty straightforward.
Tony -
t:dataTable does it need the value attribute?
In this Post: http://forum.java.sun.com/thread.jspa?forumID=427&threadID=679591
..."jsweetland" writes this snippet:
<h:dataTable var="item" value="#{myBean.items}" border="1">
<h:column>
<f:facet name="header">
<f:verbatim>Name</f:verbatim>
</f:facet>
<h:outputText value="#{item.name}"/>
</h:column>
<h:column>
<f:facet name="header">
<f:verbatim>Description</f:verbatim>
</f:facet>
<h:outputText value="#{item.description}"/>
</h:column>
</h:dataTable>my question is why do we need another bean for the dataTable tag ---
<h:dataTable var="item" value="#{myBean.items}" .....>
Can't we directly create list items and use them as values inside the column tag? in other words in our example above can we make do with only the "item" bean and get rid of the "myBean" ?Hello,
I don't see your point, I only see one bean, "myBean", where do you see "antother bean"? How do you want to iterate over items, rows in the dataTable? Where do you get information about current row from in actions?
Regards,
Thorsten -
Sidebar Div - need 100% vertical drop
Hi Guys, Hopefully just a quick one, thanks - I am using Dreamweaver CC (and very green at css), and trying to get a long vertical sidebar div to go down the right-hand side of all my pages ie. to drop all the way down to the bottom of each page, regardless of what each page's length is. I went into the layout properties of the sidebar div, and tried setting the height to 100%, and when that didn't seem to work, I set it to 100pc - which seems to work fine on the regular-length pages, but on this long scrolly page (link provided), it does not go all the way down to the bottom of the page, and stops about halfway down - any ideas? Here is a link http://www.mindtraining.net/dreamweaver/sports-mental-training/index.php Yet is seems fine on regular pages, such as here at http://www.mindtraining.net/dreamweaver/sports-mental-training/boxing.php
Any suggestions will be very much appreciated! Thanks guys, Craig TBy default, CSS containers are not equal height. They are only as high as the content inside them dictates. If you want equal height columns, you'll need to use workarounds.
Approach #1 is a faux-column using a background-image similar to the one below that is the same width as your layout and repeats vertically (repeat-y) down the page. This gives the illusion of equal height columns without a lot of fancy extra code. Won't work in Fluid Layouts.
Approach #2 uses the display:table & display:table-cell properties. This works in both fluid and fixed-width layouts however it is not supported by older IE browsers.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 with CSS display:table</title>
<style>
body {
background: #CCC;
#wrapper {
display: table;
width:90%;
margin:0 auto;
background:#FFF;
min-height: 400px;
#wrapper article, #wrapper aside {
display:table-cell;
padding: 2%;}
#wrapper aside {
height: 400px;
width: 30%;
background-color:#325C74;
color:#FFF;
</style>
</head>
<body>
<div id="wrapper">
<article>
<h3>Main Content</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus. Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus. Aenean tristique enim ut ante dignissim. </p>
<h3>Heading 3</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus. Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus. Aenean tristique enim ut ante dignissim. </p>
</article>
<aside>
<h3>Sidebar</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.</p>
</aside>
<!--end wrapper-->
</div>
</body>
</html>
Nancy O.
Maybe you are looking for
-
Keep getting multiple song files every time I open ITunes
Argh. Every time I open ITunes I have two or three of the same song in my Library. What's worse, when I plug in my Ipod, I end up with two or three copies of the same song on my Ipod as well. Help! Much thanks, Jhawk
-
MB51 Item text field entry procedure
Hi Experts I am an abaper who has limited knowledge of MM . Now my requirment is to find the tcode where the text to be displayed in MB51 Item should be entered . Where should we enter it for it to get displayed in the text field of MB51 item,P
-
How easy is it to upgrade from Panther to Leopard?
I think it is about time I upgraded from 10.3.9 to 10.5 as I want to update my iLife package and use Final Cut. However, I have been procrastinating about it - is it easy? I've read some reviews; some say it is easy and some say it is not. I will bac
-
Map Icon in Toolbar on iPhone 3GS
I can't find any info about the map icon - a pointy arrow that appears in the iphone toolbar next to the battery icon after some map-related apps have been used. What does this icon mean exactly? How is it toggled on and off?
-
Dropping the Verizon-su​pplied DVR for an HTPC
I'm considering building a Home-Theater-PC to replace my current Verizon-supplied DVR. Will I still be able to receive the FIOS TV channels that I'm subscribed to or will I need to replace the DVR with a more basic component? Thanks! Solved! Go to S