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

The Fabric community is now in read-only for platform upgrade. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.