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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.