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
kristty1805
Frequent Visitor

Conditional in measure but for blanks

Hello,

I have this formula but as you see there are so many blanks. I want to get rid of them. I don't want to filter but I want to include a conditional in my formula. for example. If ActualCompltDate is Blank, then take the column PlannedUTComplDate and if planned ut complDate is blank, then take the column ModifyDate

kristty1805_0-1624455248959.png

 

2 REPLIES 2
arvindsingh802
Super User
Super User

Use = COALESCE(ActualCompltDate, PlannedUTComplDate,ModifyDate)

 

COALESCE function (DAX) - DAX | Microsoft Docs

 

If this post helps, then please consider Accept it as the solution and give it a thumbs up


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

But how should I combine with the other formula? 

CD_closed = CALCULATE(COUNTROWS(CD), USERELATIONSHIP(CD[ActualUTCmplDate],'Calendar'[Date]), OR (CD[Statusforreporting]="4. Build & Unit Test Completed", CD[Statusforreporting]="5. Functional Sign-Off Completed"))

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.

Top Solution Authors
Top Kudoed Authors