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
texmexdragon2
Helper V
Helper V

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-yanjiang-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-yanjiang-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-yanjiang-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
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.