Forum Discussion
Anonymous
6 years agoNot applicable
Replace Blank with Hyphen in Table
Hi,
I just wonder how to replace blank with hyphen in this case below.
The values are from a measure therefore I can't use =IF ( ISBLANK(.
Cheers
Jimmy
You can do that then data type need to be matched so the number will become text. So you need to take care of formatting using format function in DAX.
IF(isblank([Measure]),"_",[Measure]&"")
2 Replies
- amitchandak
Super User
You can do that then data type need to be matched so the number will become text. So you need to take care of formatting using format function in DAX.
IF(isblank([Measure]),"_",[Measure]&"")
- v-easonf-msft
Community Support
Hi, Anonymous
Could you please tell me whether your problem has been solved?
If it is, please mark the helpful replies or add your reply as Answered to close this thread?Best Regards,
Community Support Team _ Eason