cancel
Showing results for
Did you mean:
Helper IV

## True False column issue

Hello community  -  I have a column that needs to show True if an opportunity from our CRM system is over 365 days old (from today) AND if it is 40% or lower probability.     Then I have  measures which calculate the value and the count of those that are "True".      The problem is that the values are showing in both the True and False.   The values themselves for the TRUE are correct, but I don't understand why they are also showing up for FALSE?

Open Over 365 Under 50 Column =
VAR _datediff = DATEDIFF(Sf_Opportunity[CreatedDate],TODAY(),DAY)
VAR _probability = CALCULATE(MAXX(Sf_Opportunity,Sf_Opportunity[Probability]))

Return
IF(AND(_datediff > 365,_probability <= .40),TRUE(),FALSE())

You can see below that the same values poplulate for both TRUE and FALSE

1 ACCEPTED SOLUTION
Community Support

According to your description, if you want to show blank when the status is False, tweak the formula like this:

``Count of Open Over 365 Under 50=IF(MAX([Open Over 365 Under 50 Column])=False,BLANK(),"Your original code here")``
``Value of Open Over 365 Under 50=IF(MAX([Open Over 365 Under 50 Column])=False,BLANK(),"Your original code here")``

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 REPLIES 2
Community Support

Is your problem solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!

Best Regards,
Community Support Team _ kalyj

Community Support

According to your description, if you want to show blank when the status is False, tweak the formula like this:

``Count of Open Over 365 Under 50=IF(MAX([Open Over 365 Under 50 Column])=False,BLANK(),"Your original code here")``
``Value of Open Over 365 Under 50=IF(MAX([Open Over 365 Under 50 Column])=False,BLANK(),"Your original code here")``

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### 2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

#### Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

#### Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

#### Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors