3.1 modify measurement value

Source: Internet
Author: User

UseFormatstringAttribute defines the format of each Metric value to control the display of the metric value to the user, so as to improve the user friendliness of the measurement value in the multi-dimensional dataset. In this task, you specify the format of the currency and percentage measurement values in the analysis services tutorial cube.

Modify the measurement value of a cube
  1. Switch to"Multidimensional Dataset structure"Tab, in"Metric value"Expand in the pane"Internet sales"Measure Value group, right-click"Order Quantity"And then click"Attribute".

  2. In the Properties window, click"Hide automatically"To prevent the "properties" window from opening.

    When the "properties" window is open, it is easier to change the attributes of multiple items in the cube.

  3. In the Properties windowFormatstringList, select#,#.

  4. In"Multidimensional Dataset structure"On the toolbar of the tab, click"Display metric value grid".

    Change to grid view so that you can select multiple measurement values at the same time.

  5. Press ctrl to select multiple metric values. You can select the following metric values:

    • Unit Price

    • Extended amount
    • Discount Amount
    • Product Standard Cost
    • Total product cost
    • Sales amount
    • Tax AMT
    • Freight

    Displays"Multidimensional Dataset structure"Tab.

  6. In the Properties windowFormatstringList, selectCurrency.

  7. In the drop-down list box at the top of the "properties" window, selectUnit price discount pctMeasure Value, and thenFormatstringSelect from the listPercent.

  8. In the "properties" window, SetUnit price discount pctMeasure ValueNameProperty changed"Unit price discount percentage".

  9. In"Metric value"In the pane, clickTax AMTAnd then change the measurement value nameTax Amount.

    This method is used to modify the measurement value name andNameThe attributes are the same.

  10. In the Properties window, click"Hide automatically"To hide the "properties" window, and then"Multidimensional Dataset structure"Click"Display metric tree".

  11. In business intelligence development studio"Generate"Click"Deployment Analysis Services tutorial".

    Because you have configured this project as incremental deployment, only the changes made in this project since the last deployment will be deployed to the Analysis Services instance.

  12. After the deployment is completed, click"Browser"Tab.

    Bi development studio detects that the cube has been updated and prompts you to reconnect to display the updated cube.

  13. In"Browser"On the toolbar of the tab, click"Reconnect".

    The dollar value of each sales quota value is displayed in the form of the currency amount (with the appropriate format for your region) in"Data"Pane.

  14. In"Metadata"In the pane, expand"Metric value","Internet sales", Right-click"Order Quantity"And then click"Add to data area".

    Note that the format of the new measurement value has been set to an integer, as shown in.

  15. In"File"Click"Save all".

    This will save the changes you have made in the Analysis Services Tutorial Project so far. You can stop the tutorial here as needed and continue later.

specify the formatstring and name attribute values of each Metric value, you have successfully improved the user friendliness of measurement values in the analysis services tutorial cube.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.