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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors