I can center it, but what I was aiming for was what I had in my second picture, where the date is in the top right corner and the data is in the center, so it looks more like a regular desktop calendar. And there's a clearer distinction between the date and data:
I am unable to get the trailing spaces after the data when I have it this way. Tableau trims them unless I put some character like the "." at the end. Are you able to get the spaces without putting a "." at the end? If yes, can you post the example?
I just kind of changed it around so that the fields are left justified instead:
" + " " +
Which is fine, I was trying to match something existing that looked the other way. Plus now I'm just curious if there is a way to pad out the end of a string.
I see what you are talking about now, and I was getting very frustrated as well. However, I think I found a solution. Change the alignment to Middle Center like in my previous post. Then, edit the calculation so the spaces are at the beginning, similar to the following:
" ["+str(MIN(DAY(CensusDate)))+ "]
Hope this gets you what you're looking for!