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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
vjnvinod
Impactful Individual
Impactful Individual

Measure Support

Hi Team,

this is my current measure

Var_H = IF(SUM('SLSL Planning template'[plannedHours])=0&&SUM(SLSL[Actual Charge(Rev/Mer)])=0, "",SUM(SLSL[Actual Charge(Rev/Mer)])-SUM('SLSL Planning template'[plannedHours]))
 
what i want to do is
IF(SUM('SLSL Planning template'[plannedHours])=0&&SUM(SLSL[Actual Charge(Rev/Mer)])=0
instead of showing the condition as blank, i want to hide those results
 
how do i achieve this?
 
 
4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @vjnvinod ,

 

I think the easiest way is to set rules in the filter.

3-1.PNG

You could check if it works.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Tahreem24
Super User
Super User

@vjnvinod ,

 

Give a try to below measure. I have revamped your measure.

 

Var_H = IF(SUM('SLSL Planning template'[plannedHours])<>0&&SUM(SLSL[Actual Charge(Rev/Mer)])<>0,SUM(SLSL[Actual Charge(Rev/Mer)])-SUM('SLSL Planning template'[plannedHours]))

 

PLease hit Thumbs up for support and accept this as a solution if it helps you!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
vjnvinod
Impactful Individual
Impactful Individual

@Tahreem24 

 

this is incorrect measure

 

my measure is correct, the only thing i want to do is to hide those rose instead of returning blank

 

Var_H = IF(SUM('SLSL Planning template'[plannedHours])=0&&SUM(SLSL[Actual Charge(Rev/Mer)])=0, "",SUM(SLSL[Actual Charge(Rev/Mer)])-SUM('SLSL Planning template'[plannedHours]))
 
see the highligted ones below in the pic, these are the rows, i don't want to see in my visual
 
Capture.PNG
vjnvinod
Impactful Individual
Impactful Individual

@Tahreem24 

@parry2k 

@Zubair_Muhammad 

 

Can you someone please help me with this?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.