Expression for a gauge in VC

Hi,
I'm new to VC. Trying to create a gauge on a query. In my iview, I have a query which displays data in a table (Force Element and Material Readiness).
I added a form view connecting it with the table. In the form, i added a gauge "NUM1". now I'm trying to enter an expression for this field but have no idea how to do this.
Please help.

Hi Frank,
Try the below steps to create a gauge control.
1. Open the 'Properties' of Gauge control(num1) using right click option.
2. In the 'General' tab set 'Expression' as @name(data field which you want to show using gauge and the data field should be  numeric).
3. In Range' tab set the maximum and minimum range as you like.
4. Now deploy the model.
Regards
Basheer

Similar Messages

  • SSRS expression for today,yesterday,Lastweek ,Last fortnight,Last Month, Year to date

    Hi All;
    I have a field called createdon 
    Using this field i need to create the SSRS expression for the table as below 
    Any help much appreciated
    Thanks
    Pradnya07

    use expressions as below
    assuming this is to be done in SSRS
    Today
    =COUNT(IIF(
    DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now()),Fields!YourRequiredField.Value,Nothing))
    Yesterday
    =COUNT(IIF(
    DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
    LastWeek
    =COUNT(IIF(
    DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
    Last fortnight
    =COUNT(IIF(
    (DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-1)
    Or (DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-2),Fields!YourRequiredField.Value,Nothing))
    Last Month
    =COUNT(IIF(DateDiff(DateInterval.Month,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Month,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
    Year To Date
    =COUNT(IIF(DateDiff(DateInterval.Year,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Year,Cdate("01/01/1900"),Now())
    And
    DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) <= DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now()),Fields!YourRequiredField.Value,Nothing))
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Hi i got a new airport express for christmas and i set it up as per instructions ,i even give a static ip and wpa2 security ..the problem is is when i come to want to use it it says its not on my network and a orange triangle shows .when i reboot it works

    hi i got a new airport express for christmas and i set it up as per instructions ,i even give a static ip and wpa2 security ..the problem is is when i come to want to use it it says its not on my network and a orange triangle shows .when i reboot it works..then if i leave it a while and try iy agian its disapeared of my network...i have a bt hub 3 ....any help please ..im not sure if itsa faulty express

    I really don't have an answer for that one. I guess that while trying to get things working correctly, I would use the most basic monitor I had which in your case would be the Eizon using the Thunderbolt port and adaptor.
    When you boot into Safe Mode the startup is quite slow, but you should get the Apple logo and then the spinning gear below it (release the SHIFT key when it appears.) Then after a little more time you should see a gray progress bar appear below the spinning gear. When that disappears the computer will startup to a login screen.

  • Visual Studio 2013 Express for Windows - InitializeComponent() does not contain a definition issue

    Hi,
    I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
    I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
    I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
    method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
    in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
    file.
    Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
    file Build Action is Page and the Xaml.cs file is Compile.
    I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
    I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
    a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
    Thank you for any help you may be able to provide

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • SCCM 2012 R2 reporting error: "The DefaultValue expression for the report parameter 'UserTokenSIDs' contains an error: A specified logon session does not exist. It may already have been terminated. (rsRuntimeErrorInExpression)"

    Hi,
    I have two SCCM environments under same active directory domain and one service account have been used for SCCM configurations on both the environments (QA and PRODUCTION). I am facing similar error as mentioned above while trying to fetch reports on
    PRODUCTION site, but the QA site is working fine, though same service account have been used for configuring both. While looking at the reportserverservice_<date> log on my Production DB server i see the following error
    "processing!ReportServer_0-3!2124!01/02/2015-09:09:30:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during
    report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet1. ---> System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Override
    Default' to data type int."
    My DB and SCCM primary site are different and the reorting services point is installed on remote DB server. Please help me resolving the issue.
    Troubleshooting performed:
    1.Disabled the registry key 'EnableRbacReporting' from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP to 0 and then restarted SSRS service and the reporting worked for some minutes after that the registry key reverted back to 1 automatically and
    reporting started throwing errors again.
    2. Checked with the permissions on DB whether or not 'sysadmin' role is assigned to the SCCM service account.
    3. re-registered the SQL management Provider WMI class.
    mofcomp.exe “C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”

    Hi All,
    Finally found exact solution to the reporting error.
    Error: while launching SCCM reports (both from Console and web based) an unexpected error occured with error message as "The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: A specified logon session does not exist.
    It may already have been terminated. (rsRuntimeErrorInExpression)"
    Solution: This is password replication issue for the domain account used to configure reporting services point in SCCM. If your SQL SSRS reporting services instance and databse runs with local default account whereas the reporting services point on SCCM
    primary site is configured with domain account, (As in My case) you need to perform the following in order to get rid of the error.
    Launch 'Reporting Services Configuration Manager' from the SQL SSRS box(either Local or Remote), Connect to Report Server Instance->Go to 'Execution Account' tab->Specify the 'Execution Account' as domain account and password which is used to configure
    Reporting Services Point in SCCM Primary Site, and then click apply.
    Now Lauch the report either way (Web based or from Console), the error will disappear and all your default reports will execute perfectly as before.

  • Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections. For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb. These terrible download speed really only affects the iPhones as my MacBook Pro usually gets the good speed no matter where it is. I don't believe there is anything wrong with my phone because if I am in the part of the house that uses just the extreme the download speeds on the iphone goes up to 50-75mb. As a note I have an AirPort Extreme on the top floor of my house (second floor) that's where my modem is located. On the first floor that's where one airport express is located. I also have another airport express in the basement that is accessed by my landlord. Any thoughts on how to fix this would be helpful.

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections.
    It appears that your networking goals with the AirPort Express is to use it as a wireless Ethernet bridge instead of using it to extend the wireless range of your AirPort Extreme. The latter requires that the Express Wi-Fi radios be enabled.
    If you intended to use the Express as a wireless bridge, you just need to reconfigure it to "Join a wireless" network instead of "Extend a wireless network."
    For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb.
    In an extended network, the placement of the extending base station is critical as it can only extend the wireless network at the bandwidth at which it receives it.
    Please check out the following AirPort User Tip for details on optimal base station placement.

  • SSRS Expression for hiding some columns in column group based on parameter

    I have a matrix table with column name WeekName which has the values of W1, W2, W3 and W4 which expands 4 columns when run. I need to hide the columns based on a parameter called WeekPar as follows:
    If WeekPar = 1, hide columns W1,
    If WeekPar = 2, hide columns W1 and W2
    What would be the expression for that?
    I know how to hide individual columns, but not some of the columns in a group. Is this possible?
    Thanks in advance!

    Hi QQFA,
    After testing the issue in my local environment, we can refer to the steps below to achieve your requirement:
    Right-click the WeekName column to open the Column Visibility property dialog box.
    Using the expression below to control the Column Visibility (supposing the cell which contains WeekName field named WeekName ):
    =switch(Parameters! WeekPar.Value=1,ReportItems! WeekName.Value="W1", Parameters! WeekPar.Value=2,ReportItems! WeekName.Value="W1" or ReportItems! WeekName.Value="W2")
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS Expression for Conditional Filtering using the "IN" operator

    Hello,
    I need to filter my dataset based on a parameter:
    If Period= 1 then Week must be in (W1, W2, W3),  Else Week must be in (W10, W20, W30)
    I tried using the "IN" operator but don't know how to create the expression for the "Value" field. I tried the following:
    iif(Parameters!Period.Value = 1,
    "W1, W2, W3",
    "W10, W20, W30")
    But it doesn't work.
    Expression: Week
    Operator: IN
    Value: ???
    Any help would be highly appreciated!

    Hi,
    Use split function.
    See this expression: IIF(Parameters!Period.Value = 1, SPLIT("W1,W2,W3",","), SPLIT("W10,W20,W30",","))
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8da78c9b-7f0c-42f1-a9c4-82f065f317c9/using-the-in-operator-in-ssrs-expressions
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • Is it possible to plug in an external HDD to the USB connection on my Airport Express for backups?

    Is it possible to plug in an external HDD to the USB connection on my Airport Express for backups? As a kind of cheapo Time Capsule?

    Unfortunately no, because the USB port on the AirPort Express will only work with a printer and a Keyapan remote control. Hard drives are not supported.
    You would need an AirPort Extreme for that type of functionality.

  • How to set up and configure AirPort Express for AirPlay and iTunes

    Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.

    Here you go ...
    How to set up and configure AirPort Express for AirPlay and iTunes

  • Windows 8.1 won't boot after VS 2013 express for windows (metro) installation

    I have purchased HP Pavilion e115sm  with AMD A-10 processor and 12GB of RAM notebook, installed windows 8.1 on it, i updated windows with "windows update" and installed all drivers needed. After that, i have tried to install VS 2013 express
    for windows (metro). VS installation asked to restart windows after, so that some updates or whatever can be installed. 
    After restart, i just got windows logo with dots rotating and got stuck on that for several hours.
    I turned it of after several hours, delete all partitions on disk, recreated them again and reinstalled windows with all updates. I tried to install VS again, but got same "logo screen" with rotating dots again for several hours...
    Can someone help me with this?

    Hi,
    Would you please first check if the system can startup into Safe mode?
    Then, please try the startup repair in Advanced menu after you boot your computer via installation media.
    How Run "Automatic Repair" to Fix Startup Issues in Windows 8 and 8.1
    http://www.eightforums.com/tutorials/2843-automatic-repair-run-windows-8-a.html
    Then, if the issue still persists, try to boot PC in WinRE, and enter command prompt to run following commands:
    bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
    Detailed steps, please refer to this link:
    Windows 8 Boot Issues? Try Fixing the Master Boot Record (MBR) or Boot Configuration Data (BCD)
    http://www.techspot.com/guides/630-windows-8-boot-fix/
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Keep post.
    Kate Li
    TechNet Community Support

  • AirPort Extreme + AirPort Express for AirTunes

    Hi there,
    I've just unpacked my new AP Extreme station (v7.3.2) as a replacement for the AP Express (v6.3) and it works just fine. What I now have been trying for some hours is to set up AP Express for AirTunes, but it doesn't work.
    I just want to add AP Express to the wireless network created via the AP Extreme not to extend the network, but simply use AirTunes.
    I tried the guided set-up via the Airport Utility, also the manual one. I tried to create a closed and normal network. The problem is always the same: After the update of the AP Express station, the station can't be found and needs a hard reset to start just another try for a set-up...only the AP Extreme shows up.
    Any idea?
    Thanks in advance.

    ...I solved it myself this morning at about 1.00 AM, but this page was down, so I couldn't post my message earlier...sometimes its easier than you think: I just forgot to enter the MAC address of the AirPort Express under the "Access" menu of he AirPort Extreme. That was the reason why the Express couldn't join the network created by he Extreme. The rest is as Nee Kun stated above with one difference: Once the Express is plugged in, I of course see/access (frankly you cannot see it, because its "closed"=invisible) only one network, but in my AirPort Utility I can see both, Extreme and Express

  • Can't download Adobe Presenter 9 and Presenter Video Express for Mac

    Hi, I am from Russia.
    I need either Adobe Presenter 9 or Adobe Presenter Video Express for Macbook.
    I cannot download either of them, because when I try to open "Adobe Presenter" "Adobe Presenter / Buy now" or "Try now", the page says:
    Error processing your request
    We're sorry, we encountered an error processing your request.
    (http://www.adobe.com/cfusion/tdrc/index.cfm?product=presenter&loc=en_us&promoid=DJDVG)
    As for the Video Express, the link leads to iTunes and the program says that the product is not available for my country...
    I use Macair (I cannot insert discs). I am already used to downloading from the internet and paying with my credit card... but can you give me the links?

    Adobe Presenter is a Windows application, so being able to download it may be irrelevant. The link you provided works for me, but again, I think you may need the Adobe Presenter Video Express tool, as that is the Mac application (and it's free). You should be able to get it from the Mac store, https://itunes.apple.com/us/app/adobe-presenter-video-express/id593844338?ls=1&mt=12.
    Ah, I just caught that you are in Russia, not sure about the Video Express tool being available there, you may need to call Adobe and see what the avalablity is.
    Message was edited by: Jorma Jennings

  • Wat should be the regular expression for string MT940_UB_*.txt to be used in SFTP sender channel in PI 7.31 ??

    Hi All,
    What should be the regular expression for string MT940_UB_*.txt and MT940_MB_*.txt to be used as filename inSFTP sender channel in PI 7.31 ??
    If any one has any idea on this please let me know.
    Thanks
    Neha

    Hi All,
    None of the file names suggested is working.
    I have tried using - MT940_MB_*\.txt , MT940_MB_*.*txt , MT940*.txt
    None of them is able to pick this filename - MT940_MB_20142204060823_1.txt
    Currently I am using generic regular expression which picks all .txt files. - ([^\s]+(\.(txt))$)
    Let me know ur suggestion on this.
    Thanks
    Neha Verma

  • How do I build an expression for a multi-element in-list?

    How do I build an expression for a multi-element in-list? For example:
    SELECT * FROM employees
    WHERE (first_name, last_name, email) IN
    (('Guy', 'Himuro', 'GHIMURO'),('Karen', 'Colmenares', 'KCOLMENA'))
    Passing a Vector to Expression.in(Vector) where each element is a Vector of values itself will result in the appropriate expression for the values clause, but how to I get the columns to be considered together, that is, how do I get the "(first_name, last_name, email)" part?
    Steve

    Steve,
    I do not believe this is currently supported in the TopLink expression framework. Your best bet at this point will be to use custom SQL.
    Doug

Maybe you are looking for

  • Problem syncing

    Hi, I am not great with technology at the best of times so apologies if this is a stupid question!   I have a nokia lumia 800.  Normally, when I want to copy photos from my phone on to my computer, I plug in the USB cable, Zune starts up, my phone sy

  • Right way to dispose frame/components/containers?

    Hi, My application creates a lot of frames with lots of containers and components (heavyweights as well as light weights) inside them. I have obeserved that none of the frames/containers/components get finalized unless I do a remove/removeAll() over

  • Only page 1 prints well. Page 2 is offset to the right and information is lost at the page break. FireFox 8 and 9, Mac OS 10.5.8

    This is very similar to a previous post with a later version of OS X, but the fix that worked for the original poster does not work for me. Mac OS 10.5.8 FireFox 8 and 9. If I print a web page, either just print or save as PDF, only the first page pr

  • Do you know how to reload a frame from a JSP page?

              I've build a tree view in java that shows the correct JSP page, it's like a configuration           page. The problem is that when I want to update the frame, I don't know how to           do it without press the reload button of the browse

  • Advanced search web part issue

    hi,  i am implementing a  advanced search web part , and in that  property restrictions, i have added  2  doument library columns [ not the site columns ] from my subsite in my site collection. but when i give some search keywords and perform   searc