Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Apply filter with masure

How can I display only years where (not isempty([Measures].[Nombre de AN]) or not isempty([Measures].[Nombre de LEAD])?

I try this but how to apply OR?

  • You would need to create a measure or calculated column with someting similar to:

    OR(
        NOT (
            ISEMPTY( [Nombre de AN] )
        ),
        NOT (
            ISEMPTY( [Nombre de LEAD] )
        )
    )

    then filter on that, which will return TRUE or FALSE. You cannot create OR conditions for multiple measures/fields with the filter pane. 

1 Reply

  • edhans's avatar
    edhans
    Community Champion

    You would need to create a measure or calculated column with someting similar to:

    OR(
        NOT (
            ISEMPTY( [Nombre de AN] )
        ),
        NOT (
            ISEMPTY( [Nombre de LEAD] )
        )
    )

    then filter on that, which will return TRUE or FALSE. You cannot create OR conditions for multiple measures/fields with the filter pane.