Reply
jaipal
Resolver III
Resolver III
Partially syndicated - Outbound

need help with DAX to hide rows

Hello professionals,
I need ideas with DAX to hide rows
I have a key measure called "Revenue" and a column column called "Name"

I am showing the in a table with few coulmns and key measures.

Now I need to hide few rows based on below logic

 

if Revenue <>0 or Name = Unsecured

 

 

any ideas would be appriciated. TIA

 

 

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Syndicated - Outbound

Hi @jaipal ,

 

Create a measure like below and use it as filter on your visual:-

 

_filter = if( [Revenue] <>0 || Max(table[Name]) = "Unsecured",1,0)

 

Samarth_18_0-1647323186455.png

 

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

2 REPLIES 2
jaipal
Resolver III
Resolver III

Syndicated - Outbound

@Samarth_18 that works, Thank you

Samarth_18
Community Champion
Community Champion

Syndicated - Outbound

Hi @jaipal ,

 

Create a measure like below and use it as filter on your visual:-

 

_filter = if( [Revenue] <>0 || Max(table[Name]) = "Unsecured",1,0)

 

Samarth_18_0-1647323186455.png

 

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)