Forum Discussion

WTR's avatar
WTR
Frequent Visitor
3 years ago

Matrix Visual, filter out row based on column values

Hey everyone

 

I'm new to PowerBI and was wondering how to apply DAX filters.

I have created a Matrix Visual based on some field from one table.

The columns consist of item categories and rows are sales order IDs. 

 

OrderIDComputersMonitorsLaptopsTotal
123£2,490.00  £2,490.00
124£3,422.00  £3,422.00
125£2,430.00£212.00 £2,642.00
126  £420.00£420.00

 

Is it possible to for example only show the rows where there is a value in Laptops, or when an sales order has both Computers and Monitors?

 

I feel like it's a very basic thing, yet I am unable to solve this.

 

Many thanks

3 Replies

    • WTR's avatar
      WTR
      Frequent Visitor

      Hey Shaurya,

       

      This still doesn't fix my problem. Perhaps I didn't write down my issue properly.

      Assume the following table:

       

      OrderIDComputerMonitorsLaptopsAccessoiresSoftwareTotal

      123

      2245     
      1242567124 5010 
      156 250 1050 
      167  250   
      1781202199 59  
      198990     

       

      I want to display only the rows where there's a value in atleast Computer AND Monitors. (other combinations could eventually also be applied.) 

       

      The result I'm looking for is:

       

      OrderIDComputerMonitorsLaptopsAccessoiresSoftwareTotal
      1242567124 5010 
      1781202199 59  

       

      Is this possible?

      • v-luwang-msft's avatar
        v-luwang-msft
        Community Support

        Hi WTR ,

        Are the data you provided the results presented in the matrix? Is it possible to provide the original table so that your matrix can be reproduced locally?

         

         

        Best Regards

        Lucien