cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
texmexdragon2
Helper IV
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
 
texmexdragon2_0-1668609760061.png

 

 
 
1 ACCEPTED SOLUTION
v-kalyj-msft
Community Support
Community Support

Hi @texmexdragon2 ,

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.

View solution in original post

2 REPLIES 2
v-kalyj-msft
Community Support
Community Support

Hi @texmexdragon2 ,

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

v-kalyj-msft
Community Support
Community Support

Hi @texmexdragon2 ,

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.

Helpful resources

Announcements
Carousel_PBI_Wave1

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.

Power BI Summit Carousel 2

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!

BizApps LATAM 2023

Business Application LATAM Summit 2023

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

Power Platform Bootcamp

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.