Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Returns the price per $100 face value for a Treasury bill.
TBILLPRICE(<settlement>, <maturity>, <discount>)
Term | Definition |
---|---|
settlement |
The Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer. |
maturity |
The Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires. |
discount |
The Treasury bill's discount rate. |
The Treasury Bill's price per $100 face value.
Dates are stored as sequential serial numbers so they can be used in calculations. In DAX, December 30, 1899 is day 0, and January 1, 2008 is 39448 because it is 39,448 days after December 30, 1899.
TBILLPRICE is calculated as follows:
where:
settlement and maturity are truncated to integers.
An error is returned if:
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Data | Description |
---|---|
3/31/2008 | Settlement date |
6/1/2008 | Maturity date |
9.0% | Percent discount rate |
The following DAX query:
EVALUATE
{
TBILLPRICE(DATE(2008,3,31), DATE(2008,6,1), 0.09)
}
Returns the Treasury Bill's price per $100 face value, given the terms specified above.
[Value] |
---|
98.45 |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!