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
VoltesDev
Helper V
Helper V

Table visual : text mask-ing

Hi everyone,

 

Probably the title is weird, but what I meant is, if lets say in my table I have a field Text which contain date, something like this : 

VoltesDev_0-1645156704417.png

Is there a trick that when we display in Table visual, we can display the "1900 - 01 -01" to blank or hyphen "-" ? but without any addition of measure ? like in the setting perhaps ? I would also trying not to change in Power Query since I have use the "1900 - 01 - 01" in many measures for a condition, so would be very glad if I can only do something with the table visual it self only.

 

VoltesDev_1-1645156879407.png

 

 

Thanks,

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@VoltesDev , You need to have new column in power query or dax , just at time of display you can not suppress

 

=

if [Date] = #date(1900,01,01) then null else [Date]

 

or in dax

if([Date] = Date(1900,01,01) , blank(), [Date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@VoltesDev , You need to have new column in power query or dax , just at time of display you can not suppress

 

=

if [Date] = #date(1900,01,01) then null else [Date]

 

or in dax

if([Date] = Date(1900,01,01) , blank(), [Date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.