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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jaipal
Resolver III
Resolver III

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

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

@Samarth_18 that works, Thank you

Samarth_18
Community Champion
Community Champion

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.