Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
rajendraongole1
Super User
Super User

How to replace blanks values in Date field with "-" seperator or NA

Hi All,

 

I have query on date field , where i am getting some blanks and want to replace it with "-" or NA.

 

IF (

 


    SELECTEDVALUE ( table[template] ) = "AC Template1",

 


    "Not Applicable",

 


    CALCULATE (

 


        SELECTEDVALUE ( table[actualdate] ),

 


        Reporting_dates[data_tranS] = "Imple Release"

 


            || Reporting_dates[data_transfer] = "Q1",

 


        GROUPBY ( Report_Project, Report_Project[pro_name] )

 

In the above measure, i am gettng blanks values and want to replace whereever the blanks with "-"

 

Please suggest.

 

Regards,

Rajendra





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





1 REPLY 1
Ahmedx
Super User
Super User

let's say your measure, which was written above is called [Date my] then you need to write like this:

IF(ISBLANK([Date my]),"-",[Date my]&"")

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors