DOLLARDE DAX Function (Financial)
Converts a dollar price expressed as an integer part and a fraction part, such as 1.02, into a dollar price expressed as a decimal number. Fractional dollar numbers are sometimes used for securities prices.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
| Fractional_dollar |
A number expressed as an integer part and a fraction part, separated by a decimal symbol. |
|
| Fraction |
The integer to use in the denominator of the fraction. |
Return values
The price as a decimal number.
Remarks
DOLLARDE reads the decimal digits of Fractional_dollar as the numerator of a fraction, and uses Fraction as the denominator. For example, DOLLARDE ( 1.02, 16 ) reads 1.02 as 1 and 2/16, and returns 1.125.
The number of decimal digits that DOLLARDE reads as the numerator is the number of digits in Fraction. With a Fraction of 32 (two digits), 1.1 is the same as 1.10, which means 1 and 10/32, so the result is 1.3125. With a Fraction of 8 (one digit), 1.1 means 1 and 1/8, so the result is 1.125.
DOLLARDE does not return an error if the numerator is equal to or greater than Fraction. For example, DOLLARDE ( 1.20, 16 ) returns 2.25 (1 and 20/16).
Fraction is rounded to the nearest integer. DOLLARDE returns an error if the rounded Fraction is less than 1, or if Fraction is BLANK. A negative Fractional_dollar returns a negative result. A BLANK Fractional_dollar returns BLANK.
DOLLARFR does the opposite conversion.
This function is not supported in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Examples
-- DOLLARDE converts a fractional price into a decimal price.
-- DOLLARFR converts the decimal price back into a fractional price.
-- The decimal digits of a fractional price are the numerator,
-- Fraction is the denominator: 1.02 with Fraction 16 is 1 and 2/16.
EVALUATE
ADDCOLUMNS (
{
( 1.02, 16 ),
( 99.08, 16 ),
( 101.1, 32 ),
( 101.31, 32 )
},
"DOLLARDE", DOLLARDE ( [Value1], [Value2] ),
"DOLLARFR", DOLLARFR ( DOLLARDE ( [Value1], [Value2] ), [Value2] )
)
| Value1 | Value2 | DOLLARDE | DOLLARFR |
|---|---|---|---|
| 1.02 | 16 | 1.125 | 1.02 |
| 99.08 | 16 | 99.49999999999999 | 99.08 |
| 101.1 | 32 | 101.31249999999999 | 101.1 |
| 101.31 | 32 | 101.96875 | 101.31 |
Related functions
Other related functions are:
Last update: Nov 26, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/dollarde-function-dax