cancel
Showing results for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper III

## Hide Rows in Table/Matrix

Hi

I have a table/matrix with a couple of dimensions and ten measures. Two of the measures will always return a value (M7 & M8).

Is there a way to only show the rows where there is a value in one of the other 8 measures (M1 thru M6)?

In this example I would like to hide rows D and G. In my real world caseI have hundreds or rows I need hidden.

Oli

1 ACCEPTED SOLUTION
Community Support

Hi @music43 ,

I suggest you to try to create a measure to filter your visual.

``````Filter =
VAR _Condition = ISBLANK([M1])&&ISBLANK([M2])&&ISBLANK([M3])&&ISBLANK([M4])&&ISBLANK([M5])&&ISBLANK([M6])
RETURN
IF(_Condition,0,1)``````

Add this measure into visual level filter and set this measure to show items when value = 1.

Best Regards,
Rico Zhou

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

3 REPLIES 3
Community Support

Hi @music43 ,

I suggest you to try to create a measure to filter your visual.

``````Filter =
VAR _Condition = ISBLANK([M1])&&ISBLANK([M2])&&ISBLANK([M3])&&ISBLANK([M4])&&ISBLANK([M5])&&ISBLANK([M6])
RETURN
IF(_Condition,0,1)``````

Add this measure into visual level filter and set this measure to show items when value = 1.

Best Regards,
Rico Zhou

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

Frequent Visitor

Hi,

You can hide rows in a table/matrix by using the exclude option by right-clicking on the row you want to hide or can filter it.

Thank You

Super User

Hi @music43

Rows cannot be hidden in the visualization, but they can be filtered.
Create a flag measure that checks if your measures return blank values.
According to this measure, filter the table.

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

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors