can calculation - I use another calc in a new calc?

Hello world

Calc_MaxAcademicPeriod | Student_Course.Course_Identification


The query shows null for this with a built-in Calc calc.
Embedded calcs are allowed?




Pls advise, thx for your help,.


THX, sandra

Hi, Sandra
Yes, you can embed calculations within other calculations. I do it all the time.

The results of a calculation will be NULL if the elements are null, so you go back and look at the basic calculations.

In addition, if you use aggregations in the calculations, you will have to spend the $ on the outside, so instead of doing it:

-CASE WHEN X = Y THEN SUM (A) 0 OTHERWISE END

You could get better results by doing:

SUM (CASE WHEN X = Y THEN END REST A 0), especially if this calculation is added to something else and it's something else is in itself an aggregation.

Hope this helps
Michael

Tags: Business Intelligence

Similar Questions

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • I just changed computers: How can I now use creative cloud on my new computer?

    I just changed computers: How can I now use creative cloud on my new computer?

    First of all, if you still have access to the older computer, log out of CC activation on this computer by visiting any product > help > log out. This will disable your activation on the previous PC.

    Then go to the website of creative cloud and download applications directly or download desktop applications and downlad CC through that.

    If you do not have access to old PC, and you get a message like 'limit reached activation', follow the steps in this document:

    http://helpx.Adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Can Portege R400 - I use another CPU on the new motherboard

    My motherboard is fried, and I ordered a new motherboard from a supplier.
    My question is; I could use another treatment.

    Well, generally upgrading the CPU isn't really easily on laptop motherboards.

    First, you will need to ensure that the new processor would be in line with the socket. Then you need to check if the motherboard chipset would support the new processor.
    Finally, there could be a problem with the BIOS of the motherboard.
    The point is that the BIOS has not been tested with the other s CPU and so nobody will be able to tell if your laptop would go without problem after these updates.

  • Why can I not use a headset with my new laptop Asus?

    I recently bought an ASUS laptop, and I wanted to use a headset with it.

    However, I came across the problem that it is a single dose used for headset and microphone, but apparently not the two.

    Every time I plug something into it, a pop up comes up asking if his headphones, speakers or a headset. I clicked on helmet thinking it would take the microphone, but however he played its just and has not used the microphone.

    Just for my problem, headphones details usually come with two jacks, one for mic for the headphones. Usually laptops meet this and have two jacks, but not this one.

    It would be great if anyone can inform me if its possible to use my headset with microphone and headphones at the same time with my computer.

    Most often when a device does not work, it is because the driver is damaged. Re-install a new copy should help

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly? SignedIn = 1

  • Why can I not use the net? -brand-new user illustrator

    I am trying to learn to use illustrator - I watched the videos online - which are very useful, but it is not everything that I can find for the NET tool.  I want to add some shadows on the body of this acrobat, but whenever I try to use the NET tool, I get the symbol is not available.  I cannot understand why or how to change.  I started from a scanned drawing makes a vectorization and converted to direct to fill in color paint.  What should I do now to activate the NET tool?  Help, please!

    Well, the question is drawn transparent, more precisely on the unitard. You will notice the tool works of fine mesh on his left arm.

    If you select the unitard and choose object > compound path > Release, you can then apply a mesh to the unitard.

    Honestly, I don't know why an object on a new layer would not allow the Mesh tool function. There must be something about art forbidding him.

  • How to unlock my iPhone so I can use another carrier?

    How to unlock my iPhone so I can use another carrier?

    The only person who can unlock the iPhone is the carrier that she is currently locked. You must apply to open for you.

    Sites that claim to be able to unlock an iPhone for you are just scams.

  • How can I make Firefox use another version of the installed Java runtime?

    For purposes of development, I have several versions of the Java runtime on my 64 bit Windows 7 computer. I try to keep the number of JDK and JRE installation to a minimum and I want Firefox to use JRE 1.7.0_21 (32 bit) because this happened with a version of JDK, I am forced to use another application.

    Firefox however use JRE 1.6.0_31 and is correctly reported as non-secure. It offers me the upgrade option, but I don't want to download and install a different JRE since I already said 1.7.0_21 installed JRE. I would prefer very just to be able to point Firefox so that JRE. I don't see an option to select a different JRE installed however.

    I tried to manually edit the file pluginreg.dat (I know, it says do not edit...) by changing the entries of JRE 1.6 and 1.7 of the JRE, but on reboot, my changes have been overwritten and was back at the old JRE. So I can't view some web sites (also company/internal) without having to change to any browsers.

    Please let me know how I can make Firefox use the already installed JRE 1.7.

    Firefox scans the registry to find the location of the plugins.
    If Firefox detects a plugin and not the other, then that means that the other Java plugin is not having a corresponding registry key.

    64-bit Windows:
    HKLM\Software\Wow6432Node\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX
    32-bit Windows:
    HKLM\Software\MozillaPlugins\@Java.com/JavaPlugin,version=XX.XX.XX

  • I bought the iPhone 4S four years ago. Now my carrier refuse unlock the phone so I can use another sim. What can I do?

    I bought the iPhone 4S four years ago. Now my carrier refuse unlock the phone so I can use another sim. What can I do?

    If your iPhone is locked by a carrier, you must contact the carrier to unlock. Note that this is possible only when the contract has already been terminated and there is no charge to be paid. Ask the carrier once more.

  • I renamed my folder in documents and settings accidentally using another account. Now, when I logged into that account, all my data is gone. How can I get it back?

    I renamed my folder in documents and settings accidentally using another account. Now, when I logged into that account, all my data is gone. How can I get back all these data?

    Hello Tiffy.T,

    Thanks for the return of the response.  If this happened recently, I suggest to perform a restore of the system to a point in time before you rename the folder.  Please let us know on this status.

    System Restore:

    http://support.Microsoft.com/kb/306084

  • can I re use coa on another computer I have a decommisioned one

    can I re use coa on another computer I have a decommisioned one,.

    then re install windows xp using another computer coa

    kind regards kevin

    The certificate of authenticity is not the product key.  It stands for "certificate of authenticity".

    If you speak with a current product key already used on another computer, the answer is no.

  • You can run this program while using another anti-virus program

     
     
    You can run this program while using another antivirus program?
    I know that it is a matter of end now that MS does not have anyone else.
    However, I was going to dnld MS antivirus with Norton market too.
    I couldn't find info on one might or might not run another
    antivirus program during execution of the Member States. (as a general rule, you can't)

    Still, it would be interesting to know about this issue. And... Should be
    have been on one of the pages, so "requirements" or FAQ
    for example.
    Thank you in advance, Ric.

    Hello Ric Buckmiller,

    Thank you for using the Microsoft Windows Vista Forums.

    What specific Windows Vista virus protection software are you talking about?  Windows Vista will be usually comes with Windows Defender.  Windows Defender is software that helps protect your computer against the pop-ups, slow performance and threats caused by the software security spyware and other unwanted software to detect and remove spyware on your computer. Windows Defender Protection features in real time, a monitoring system that recommends actions against spyware when it's detected, minimizes interruptions, and helps you to remain productive.  Yes you can use it with antivirus software.

    Currently, Microsoft has an antivirus software on beta.  http://www.Microsoft.com/security_essentials/support.aspx
    If you have this downloaded, it advised that you can always use another software antivirus at this time.

    Or you are referring to Windows LiveOneCare?  Please let us know status.  Thank you!

    How to uninstall any other antivirus or firewall program?

    Before installing Windows Live OneCare, please make sure that you uninstall completely any existing antivirus or firewall program that may be on your computer.

    This step is very important, no matter what protection software you use, because installing one antivirus or firewall program over another on the same computer could potentially lock up the computer.

    Note: If you do want to keep the ability to reinstall your old antivirus or a firewall program in the future, make sure you have the original product CD (or a backup program disk) before you begin uninstalling.

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't use windwo Defender, my pc show if you use another application to find the unwanted malicious software, use action center to cheack app status

    "I can't use winddow Defender, my pc show' If you use another application to find the unwanted malicious software, use action center to cheack app status."
    Please help me solve. Thank you

    Hello

    If you use Norton, AVG, Avira, Microsoft Security Essentials, McAfee, etc. the default action is for Windows Defender must be disabled, that these AntiVirus programs have their own Antispyware Applications.

    There is nothing to worry.

    Using both programs at the same time can cause system conflicts, etc.

    If you are using one of the above AntiVirus programs, this Information from David O - Support Engineer shows you how to manually enable Windows Defender (disregard information from uninstalling; not possible in Vista):

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/how-do-i-manually-start-Windows-Defender-in-Vista/dab845b2-9ba5-47F3-9518-c4c6781e7d5b

    "Go to start, Control Panel, Administrative Tools, Services. Look for Windows Defender.

    Right click and select Properties , ensure that Startup Type is automatic.

    Once modified, click apply and OK.

    Quit and restart your computer. Check the back take the same path to confirm that Windows Defender has started"

    .

    If you want to have additional protection against malware using the version FREE of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And for now, change startup Vista programs without using Defender, use one of these methods:

    "How to use MSCONFIG in Windows Vista"

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    Or the program Autoruns for FREE:

    "V11.21 Autoruns for Windows"

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    See you soon.

  • Can I use another photo (NOT in Photo Gallery) program in Windows 7?

    Windows Photo Gallery is terrible.  Icons, not photos and just a mess in general.  Can I use another program in Windows 7?

    Try Movie-Maker, also, WMP can import videos & photos in its default view, you can import

    a folder either for WMP display in his library...

  • y at - it another program which marks bad sectors on the hard drive, so I can continue to use my hard drive?

    Windows 7 does not support fdisk more is what im saying.  y at - it another program which marks bad sectors on the hard drive, so I can continue to use my hard drive?

    OT:

    Fdisk

    Hello

    Running checkdisk (chkdsk) will mark bad sectors. Utility of these manufacturers
    It will be even better.

    Check the hard disk for errors, health, bad sectors in Windows 7 / 8 / 10
    http://www.thewindowsclub.com/check-your-hard-disk-for-errors-in-Windows

    Bad sectors explained: why hard drives get bad sectors and what you can do about it
    http://www.howtogeek.com/173463/bad-sectors-explained-why-hard-drives-get-bad-sectors-and-what-you-can-do-about-it/

    The manufacturer Diagnostic utilities.

    (The old 302602 links isn't now valid for Diagnostics links).

    Manufacturer diagnostic utilities - run one to your hard drive
    http://www.techsupportforum.com/hardware-support/hard-drive-support/462298-no-IDE-device-found.html

    Corrected list dated 06/09/2010

    Fujitsu hard drives: utility of diagnosis here
    http://www.Fujitsu.com/EMEA/products/HDD/

    Hitachi hard drives: utility of diagnosis here
    http://www.HitachiGST.com/support/downloads/

    IBM hard drives: use Hitachi utility *.

    Toshiba hard drives: use Hitachi or Maxtor utilities

    Maxtor hard drives: Diagnostic Utilities here (now SeaGate)
    http://www.Seagate.com/www/en-us/support/

    Quantum hard drives: use the Maxtor utilities

    Seagate hard drives: here Diagnostic utilities
    http://www.Seagate.com/www/en-us/support/downloads

    Conner hard drives: use the Seagate utilities

    Hard drives Samsung: utility of diagnosis here
    http://www.Samsung.com/global/business/HDD/

    Hard drives Western Digital: utility of diagnosis here
    http://support.wdc.com/product/download.asp?lang=en
    Trial versions of one of these 'might' help.

    SpeedFan
    http://www.almico.com/sfdownload.php

    HD Tune
    http://www.hdtune.com/

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for