If I set a custom format for a number dimension as ####億####万####円 to display as Japanese Yen prices according to the Excel style number code, unnecessary "億" is added to the top of numbers if the number is less than 100,000,000 yen (1億円). How can I set correct Japanese Yen price format with using "億", "万" and "円"?
IF LEN(STR([Price]))=9 THEN LEFT(STR([Price]),1)+"億"+MID(STR([Price]),2,4)+"万"+RIGHT(STR([Price]),4)+"円" ELSEIF LEN(STR([Price]))=8 THEN LEFT(STR([Price]),4)+"万"+RIGHT(STR([Price]),4)+"円" ELSEIF LEN(STR([Price]))=7 THEN LEFT(STR([Price]),3)+"万"+RIGHT(STR([Price]),4)+"円" END
001456799
9 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.