Hide Measure Dynamically by Month or any member

Hi,
I need to hide a Measure for future months and for current month and past one i need to show the particular measure. how can i achieve it..
Means in excel
For old months and current i want to show measure.actual
but for future month i want to show measure.forecasting..in excel that measure should be totally hidden for old months.. but right now it shows blank value.. but does not hide a column in excel.
Please suggest!

Fedor wrote:
I would like to run same VI in several  subpanels at once.
I followed NI guidelines and load same VI template dynamically for each subpanel, which works fine.
I would also like this VI to be a member of the class. And it works too, up to the point where I would like to access protected class data in the template VI, after which I get the following runtime error:
Error 1003 occurred at Open VI Reference in TemplateTestTopVI.vi 
Possible reason(s): 
LabVIEW:  The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
VI Path: ..\TemplateMember.vit
By the way, calling the same *.vit member directly, not through VI server,  works fine.
Is there any work around?
Sample code attached.
Been ther done that, Sqashed by LabVIEW R&D.
This boils down to a philosophical issue that being
"Is a VI created from a template that is part of a class a member of the class?"
Bottom Line = NO. The class has to know about all of its members and the VI created from the template is not known by the class so not a member.
There is also a twisted way that Classes can be messed with that could be exploited so ...
What I do is create a template that is not a part of the class and uses only public methods of that class to do the job.
So...
Take it out of the Class.
Re-write it to use public methods.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • With iCal can I hide repetitive events in month view only?

    I was wondering if it was possible to hide repetitive events in month view but have them show in week and day views. For instance, I have my class schedule on iCal but I don't want to see it when I look at the month view, I just want to see events that are not repetitive, such as exam/test events. If anyone can help, that would be awesome. Thanks.

    jk_baller23,
    You could create a separate calendar for repetitive events, and uncheck them when using the day/week view.
    ;~)

  • Show data of last day of previous month against any day of current month

    Hi,
    I have fact table which contains data at date level (we have data for oct-2009 to april-2010). Our requirement is to show data of last day of previous month against any day of current month in obiee 11g. I am facing problem in Feb 2010 its picking data of 28-Jan-2010 instead of 31-jan-2010 and for April its picking data of 30-mar-2010 instead of 31-mar -2010.
    Any suggestion ???

    You're asking to filter your data set to only include rows between:
    1) last day of the previous month
    2) any day of the current month
    This can be achieved with prompting in OBIEE Answers.
    last day of previous month = TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) . The problem is you need to make query work within Oracle's Answer syntax.
    In the prompt, select the operator type for your date dimension as 'between' and default to 'SQL Results'.
    For the 'last day of previous month' , use the query:
    SELECT
    case when 1=0 then Time."Fiscal Date" else TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))
    end
    FROM ENTER_YOUR_PRESENTATION_FACT_FOLDER_HERE
    For the current date, use the query:
    SELECT
    case when 1=0 then Time."Fiscal Date" else CURRENT_DATE
    end
    FROM ENTER_YOUR_PRESENTATION_FACT_FOLDER_HERE
    Another option is to create a last_date_pervious_month variable in the RPD and have that as the default value in your prompt.

  • Cant sync my iphone contacts with yahoo, it says "unknown error (4)" and tells me to come back later, been doing it for months. Any ideas on how to kill it?

    cant sync my iphone contacts with yahoo, it says "unknown error (4)" and tells me to come back later, been doing it for months. Any ideas on how to kill it?

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • HT2513 Using iCal on my ipad2 and can't seem to create a repeating event, specifically, an appointment that occurs the second Wednesday of every month.  Any help is greatly appreciated....thanks! iPad 2, iOS 5.0.1

    Using iCal on my ipad2 and can't seem to create a repeating event, specifically, an appointment that occurs the second Wednesday of every month.  Any help is greatly appreciated....thanks!
    iPad 2, iOS 5.0.1

    Although this isn't currently possible in the iOS Calendar app, go to iCloud.com (not on your iPad, but on a computer browser like Safari or Firefox) and log in.  There, you can add an event in Calendar and have the options to make it repeat however you want.

  • I am running InDesign CC. Every time I try to redefine a paragraph style, it crashes.  It's just start doing it and I have had CC for a few months.  Any suggestions? Thank you

    I am running InDesign CC. Every time I try to redefine a paragraph style, it crashes.  It's just start doing it and I have had CC for a few months.  Any suggestions? Thank you

    Do you mean Toolkit or TypeKit, which is part of CC? See Remove minor corruption by exporting. If that doesn't work, try exporting the text to ID Tagged Text and place in a new file, and if that also fails, try removing the fonts.

  • When I watch slide show through my Apple TV version 6..2 the air play instruction box appears always on the screen and hides the photo. Is there any way to stop it.

    When I watch slide show through my Apple TV version 6..2 the air play instruction box appears always on the screen and hides the photo. Is there any way to stop it.

    Hi Sujatha vijay,
    It sounds as if your Apple TV is in Conference Room Display mode. You will need to turn this off. See this article -
    Apple TV (2nd and 3rd generation): Understanding AirPlay settings
    http://support.apple.com/kb/HT5517
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HT4061 I can not connect to ITunes Store to download updates. I have no trouble connecting to the internet. It worked OK up to about a last month. can any body help.

    I can not connect to ITunes Store to download updates. I have no trouble connecting to the internet. It worked OK up to about a last month. can any body help.

    Hi there bigyellowdigger!
    I have an article here that can help you troubleshoot this issue with your connection to the iTunes Store. That article can be found right here:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • How to get the first friday of the MARCH and SEPTEMBER month of any year...

    Hello-
    How can we get the first FRIDAY of MARCH and SEPTEMBER month for any given year.
    Any help would be appreciate!
    Thanks,
    Nikhil

    Hi,
    Please use the following function to get first fiday of any month, we have to pass month,year as varchar2 as input to this function and it will return the
    date in char format, we can convert it to date.
    CREATE OR REPLACE FUNCTION find_fri
    (p_month VARCHAR2,
    p_year VARCHAR2)
    RETURN VARCHAR2 AS
    p_friday VARCHAR2(15);
    BEGIN
    SELECT (CASE triM(TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy'),'DAY')) WHEN 'MONDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+4 ,'DD-MM-RRRR')
    WHEN 'TUESDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+3 ,'DD-MM-RRRR')
    WHEN 'WEDNESDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+2 ,'DD-MM-RRRR')
    WHEN 'THURSDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+1 ,'DD-MM-RRRR')
                                                                          WHEN 'FRIDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy'),'DD-MM-RRRR')
                                                                          WHEN 'SATURDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+6,'DD-MM-RRRR')
    WHEN 'SUNDAY' THEN TO_CHAR(TO_DATE(p_month||'-'||p_year,'mm-yyyy')+5 ,'DD-MM-RRRR')
                                                                          ELSE 'OTHER'
                                                                          END) INTO p_friday FROM dual;
    RETURN p_friday;
    END;

  • Bad app like to block any member for no reason

    Beetalk is bad app like to block any member for no reason ... i think they just want any user send message from many mobile number to make new account and earn money from this ...beetalk never say anything before they block an account ... really bad app and any comment from www.facebook.com/BeeTalkThailand?fref=ts all so

    I'm sorry but I don't understand. What is your technical support question?

  • Can ODI journalising help to identify if any member deletes from hierarchy

    Hi
    I am applying journalizing to identify if there is any change in hierarchy.
    I extract dimension hierarchy into a DB table on which journalizing is already applied.
    If there is insert in the DB table (new member added), the ODI identifies it, any updates my target from this journalizing table.
    Now, if i delete a member from my dimension and then extract this dimension members into DB table, it just enters data into table(overwriting the existing rows).It does not identify if any member has been deleted coz that member still exist in the DB table & does not get deleted from the table.
    In this case how can we check if any member has been deleted from the hierarchy or not. Is there any other option to achieve this

    I just looked at all the ddls' i have the following syntax for all MV's
    CREATE MATERIALIZED VIEW WIS.SNAP_MAX_ENTITY
    TABLESPACE WIS_CDS_DATA01
    PCTUSED    0
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          80K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX
                TABLESPACE WIS_DATA01
                PCTFREE    10
                INITRANS   2
                MAXTRANS   255
                STORAGE    (
                            INITIAL          80K
                            NEXT             80K
                            MINEXTENTS       1
                            MAXEXTENTS       UNLIMITED
                            PCTINCREASE      0
                            FREELISTS        1
                            FREELIST GROUPS  1
                            BUFFER_POOL      DEFAULT
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEYEdited by: vijayp on Aug 7, 2012 6:44 PM
    Edited by: vijayp on Aug 7, 2012 7:02 PM

  • TS3988 I get a "Connection Error - iCloud encountered an error while trying to connect to the server" message; I have been getting this error message for months, on any device I try to login with.

    I get a "Connection Error - iCloud encountered an error while trying to connect to the server" message; I have been getting this error message for months, on any device I try to login with.

    Hi
    I am sorry can't help you because I have same problem when login to icloude.com and try insert to Contacts!
    Many times happen.
    what is issues ?

  • Hide Workset  dynamically

    Dear Experts.
    I have the following doubt.
    In the role of Employee Self-Service We have the following services:
    Employee Search |  Personal Information |  |  Benefits and Payment |   |  Travel and Expenses |  Career and Job 
    However depending on the type of employee we need hide some Areas(ie For the type of Employee A, I need hide the Area :
      Travel and Expenses
      Career and Job
    I know that I can hide Areas in the ESS creating an Enhancement Implicit in the FM HRXSS_SER_GETMENUDATA. I made this and work fine. But the problem that I have in this moment is following:
    The Area were hided but in the role of ESS yet still appear all the Worksets:
    Employee Search |  Personal Information |  |  Benefits and Payment |   |  Travel and Expenses |  Career and Job 
    Is posble Hide Workset  dynamically or What I need do for solve this Issue?
    Regards
    Juan .

    Hello,
    You said that you have a different employee type so here I believe it appears the need for a different group with its permissions and restrictions.
    I am not sure on how to dynamically change the Worksets without the BADIs, but I would suggest you to use more groups so that you can define the rules you are creating on the BADI on the group itself.
    Regards,
    Bentow.

  • Summ a measure over 12 months for a specific sales month

    Hi
    I have been trying to Sum a measure (Income) over the next 12 months (Date) for a specific sales month (SalesDate)
    This query at least returns values but does not limit the measure to the first 12 months:
    With
    Member [Measures].[Income - plus 12] As
    Iif(
    [Date].[|Date - Month Description].CurrentMember>=[SalesDate].[SalesDate - Month].CurrentMember
    , Sum(LastPeriods(- 12
    , [Date].[Date - Month Description].CurrentMember
    [Measures].[Income]
    )  HINT STRICT
    , Null
    Select
    [SalesDate].[SalesDate].&[2014]
    Except([SalesDate].[SalesDate - Month].[SalesDate Month]
    , [SalesDate].[SalesDate - Month].[All].UNKNOWNMEMBER
    } on Columns
    , [Measures].[Income - plus 12] on Rows
    From [My Cube]
    So I tried this query but it returns nulls:
    With
    Member [Measures].[Income - plus 12] As
    Sum(
    (LinkMember([SalesDate].[SalesDate - Month].CurrentMember
    , [Date].[Date - Month Description]
    LinkMember(
    ParallelPeriod([SalesDate].[SalesDate - Month].[SalesDate Month]
    , -12
    , [SalesDate].[SalesDate - Month].CurrentMember
    , [Date].[Date - Month Description]
    ,Root([SalesDate])
    [Measures].[Income]
    Select
    [SalesDate].[SalesDate].&[2014]
    Except([SalesDate].[SalesDate - Month].[SalesDate Month]
    , [SalesDate].[SalesDate - Month].[All].UNKNOWNMEMBER
    } on Columns
    , [Measures].[Income - plus 12] on Rows
    From [My Cube]
    I would appreciate any input (urgently as I have been fighting with this for a week now)

    Hi Simon
    Thank you for your reply! I hope this will shed some light:
    In the original question, I tried to make the query generic but here is the actual issue:
    Ok, I can't upload images as my account has not been verified but this code returns the total prem for inception date January 2014 but includes values in 2015:
    With
    Set
    [Inception - plus 12]
    As
    LinkMember([Inception Period].[Inception
    Year - Month]
    , [Loss Ratio Period].[Loss Ratio Year - Month Description])
    LinkMember(ParallelPeriod([Inception
    Period].[Inception Year - Month].[Inception Month]
    , -12, [Inception Period].[Inception Year - Month] )
    , [Loss Ratio Period].[Loss Ratio Year - Month Description])
    Member
    [Measures].[Total Prem - plus 12]
    As
    sum({ [Inception - plus 12] }
    , [Measures].[Total Prem] )
    Select
    [Inception Period].[Inception Year].&[2014]
    *[Inception Period].[Inception Year - Month].[Inception Month]
    onColumns
    , [Measures].[Total Prem - plus 12]
    onRows
    From
    [Loss Ratio Cube]
    So the result for January 2014 includes the Total Prem received in Jan and Feb 2015. So the code under your suggestion, however, the result is now (null)
    With
    Member
    [Measures].[Total Prem - plus 12]
    As
    sum({LinkMember([Inception
    Period].[Inception Year - Month]
    , [Loss Ratio Period].[Loss Ratio Year - Month Description])
    LinkMember(ParallelPeriod([Inception
    Period].[Inception Year - Month].[Inception Month]
    , -12, [Inception Period].[Inception Year - Month] )
    , [Loss Ratio Period].[Loss Ratio Year - Month Description])
    , [Measures].[Total Prem] )
    Select
    [Inception Period].[Inception Year].&[2014]
    *[Inception Period].[Inception Year - Month].[Inception Month]
    onColumns
    , [Measures].[Total Prem - plus 12]
    onRows
    From
    [Loss Ratio Cube]

  • 0FISCPER - dynamic 12 months

    note to remeber i do not have posting period or calmonth in the cube.
    If the user enters 0FISCPER how to get all the 12 months in the query and Sum of 12 months dynamically
    example - user enters 11/2007 ,it should populate 01/2007 to 12/2007 12 columns in a query and then SUM of 12 columns in query.
    WHat ar the ways of achieving it with Bex and with user exits??
    thanks

    Milt,
    Put all filters and free chars as per your tech spec.
    Again put what all chars you need against which the key figures should be displayed.
    Now coming to columns:
    In a new selection restrict fiscper with the variable which the user enters. u can use any key figure here. Just hide this column.
    Create a new selection. In that selection create a new variable on 0FISCPER which is not ready for input and processing type as "customer exit". These are all the options to be used while creating a formula variable.
    While writing code in CMOD read the variable value eneterd the user and then populate the required date. Suppose the user enters 07/2006, then in the code read the year and attach it to the output which should be 01/2006. Now this column will have restriction value for 01/2006 month.
    Again use the same variable in the second new selection. right click on that variable and set offsets +1. This will get the restrcition value 02/2006.
    Repeat the same for all 12 columns.
    For 13 th column, create a new formula and add up all the 12 columns which will give you the sum of all 12 months.
    This wil give you the output as desired.

Maybe you are looking for

  • How to manage resource inside JVM8i

    I am writing a Java Stoted Procedures. I encouter an error: The following JDBC error occurred: IoException: End of TNS data channel The source code is : import java.io.*; public class DisBytes { public static void enter1() throws IOException { File i

  • "Quantity falls into negative inventory" Error when importing Goods Receipt through DTW

    Hi, We extending the automation between our production plant an SAP Business one. We're using DTW import "Goods Receipt PO" currently and want to extend this to internal productions based on Production Orders. I've created three csv files to create t

  • URGENT! 450 HOST DOWN

    Hi, A quick overview... NW 6.5 SP7, GW 7.0.2 server from our Indian office has been physically shipped back to our UK head office. I need to bring this server back online asap... I've done all the necessary config on our CISCO firewall, and I've chan

  • Java.lang.OutOfMemoryError: heap allocation failed

    Hi, I am facing a strange which i cannot debug.. Could anyone let me know what could be the exact reason for this kind of error... Exception in thread "172.24.36.74:class=SnmpAdaptorServer_172.24.36.74,protocol=snmp,port=161" java.lang.OutOfMemoryErr

  • I have a macbook pro and would like to download the free trial of premiere pro cc.

    I already downloaded cs6 but my trial expired.  I cannot get my icloud to download the app to install the free trial.  I hit download free trial, and the spinning wheel of death appears in my app section of icloud.