Forum Discussion

ale-hd's avatar
ale-hd
Icon for Helper I rankHelper I
5 years ago
Solved

Datas show up in Matrix visual also applying Filters from Filters Panel

Hi all, having a Matrix I am trying to show only the categories for which a certain value is different than 0, or different than blank. More specifically, from the images attached, I want the data t...
  • v-kkf-msft's avatar
    5 years ago

    Hi ale-hd ,

    Try to create two measures:

     

    RMS_NotNullValue = 
    CALCULATE(
        SUM('Table'[Value]),
        FILTER(
            'Table',
            'Table'[All Prenotanti] = "RMS Vs PP"
        )
    )

     

     

    Matrix Columns = 
    var tab = 
        CALCULATETABLE(
            VALUES('Table'[Column]),
            FILTER(
                'Table',
                [RMS_NotNullValue] <> BLANK()
            )
        )
    return 
        COUNTROWS( INTERSECT( tab, VALUES('Table'[Column]) ) )

     

     

    Then put measure Matrix Columns in the pane shown in the figure below. 

     

    The results of my comparison test are as follows:

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.