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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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