Forum Discussion

kafil10's avatar
kafil10
Frequent Visitor
9 years ago

Reachni the text field from filter

Hi,

i wanna get the text in group name automatically with a filter groupname , there is way guys ??

IThelpdesk = CALCULATE (
        COUNT ( ENPS[CallID] );
        FILTER (
            ALLSELECTED(ENPS);
            ENPS[NewColumn.RecvdDate] <= [Date]
                && (
                   ENPS[NewColumn.ClosedDate] > [Date]
                        || ISBLANK ( ENPS[NewColumn.ClosedDate] )
                )
        && (ENPS[GroupName]="ENPS EMEA IT Helpdesk")
    ) )

 

5 Replies

  • kafil10's avatar
    kafil10
    Frequent Visitor

    Hi,

    i wanna get the text in group name automatically with a filter groupname , there is way guys ??

    IThelpdesk = CALCULATE (
            COUNT ( ENPS[CallID] );
            FILTER (
                ALLSELECTED(ENPS);
                ENPS[NewColumn.RecvdDate] <= [Date]
                    && (
                       ENPS[NewColumn.ClosedDate] > [Date]
                            || ISBLANK ( ENPS[NewColumn.ClosedDate] )
                    )
            && (ENPS[GroupName]="ENPS EMEA IT Helpdesk")
        ) )

     

  • Eric_Zhang's avatar
    Eric_Zhang
    Icon for Microsoft Employee rankMicrosoft Employee

    kafil10 wrote:

    Hi,

    i wanna get the text in group name automatically with a filter groupname , there is way guys ??

    IThelpdesk = CALCULATE (
            COUNT ( ENPS[CallID] );
            FILTER (
                ALLSELECTED(ENPS);
                ENPS[NewColumn.RecvdDate] <= [Date]
                    && (
                       ENPS[NewColumn.ClosedDate] > [Date]
                            || ISBLANK ( ENPS[NewColumn.ClosedDate] )
                    )
            && (ENPS[GroupName]="ENPS EMEA IT Helpdesk")
        ) )

     


    kafil10

    That DAX formula looks good, have you encountered any problem?

      • Eric_Zhang's avatar
        Eric_Zhang
        Icon for Microsoft Employee rankMicrosoft Employee

        kafil10 wrote:

        @Eric_Zhang

         

        I need to get it automatically with the filter pane you know !!


        kafil10

        What do you mean "get it with the filter pane"? The filter applied in DAX won't reflect in the filter panel.