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
Chanleakna123
Post Prodigy
Post Prodigy

How to leave the data calculated blank in the same row by showing only the date defined

HI all , 

i have code 750 as CO2 10L , this one i should leave it blank , as it doesn't have to be calculated as Expired date or Expired In ( Days ) but when i do column calculated CO2 10L also included in the calculated. is there any way that i can leave the column to be blank  ? only show the QTY , 

PS: Expired In Days and Date of Dispatch calculated from Current date too. 

thx1.PNG

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @Chanleakna123,

 

You can add an if statement. For example, if the condition is the Code, you can do it like this.

Measure = if(min('Table'[Code]) = 750, blank(), [Your formula])

If you want more detailed formula, please specify the conditions when to leave it blank.

 

Best Regards,

Dale

Community Support Team _ Dale
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-jiascu-msft
Employee
Employee

Hi @Chanleakna123,

 

You can add an if statement. For example, if the condition is the Code, you can do it like this.

Measure = if(min('Table'[Code]) = 750, blank(), [Your formula])

If you want more detailed formula, please specify the conditions when to leave it blank.

 

Best Regards,

Dale

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

@v-jiascu-msft , Thanks you so much , it works well . 

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.