Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Filtering negative values in Matrix

Hi,

 

I am struggling trying to show only negative values for a selected colum in a matrix.

 

It is a little bit complex because I want it to show negative values only for a selected column (selection made with slicer) but all other columns must remain visible. 

 

Example :

Columns: Table[Group] = A,B,C,D,E

Rows: Table[Supplier name] = Supplier1,Supplier2,Supplier3,Supplier4,Supplier5,Supplier6

Values : Table[Values]

 

Supplier name  |   A   |   B   |   C   |   D   |   E   |

Supplier1          |  12  |  -1   |  -4   |   45 |  52  |

Supplier2          |  -8  |  12   |  85   |   35 |  22  |

Supplier3          |  14  |  -1   |  12  |   25  |  -7  |

Supplier4          |  -2  |  25   |  -4   |   45 |  -2  |

Supplier5          |  17  |  15   |  -2   |   45 |  50  |

Supplier6          |  18  |  17   |  14   |   -8 |  50  |

 

If I am selecting A in the slicer I want the matrix to be like

Supplier name  |   A   |   B   |   C   |   D   |   E   |

Supplier2          |  -8  |  12   |  85   |   35 |  22  |

Supplier4          |  -2  |  25   |  -4   |   45 |  -2  |

 

If I am selecting C in the slicer I want the matrix to be like

Supplier name  |   A   |   B   |   C   |   D   |   E   |

Supplier1          |  12  |  -1   |  -4   |   45 |  52  |

Supplier4          |  -2  |  25   |  -4   |   45 |  -2  |

Supplier5          |  17  |  15   |  -2   |   45 |  50  |

 

Thank you in advance for your help,

1 REPLY 1
TomMartens
Super User
Super User

Hey @Anonymous ,

 

please create pbix that contains sample data, but still reflects your data model, upload the file to onedrive or dropbox and share the link. If you are using an Excel file to create the sample data, upload the Excel file as well.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.