1. The Definitions
* Attribute Dimension: A special sub-dimension that provides "on-the-fly" totals in reports (e.g., Total Sales for "Red" products).
* UDA (User Defined Attribute): A simple text label (like a hashtag) used as a marker for scripts or filtering. No math involved.
2. The Smartphone Example
* Attribute (The Filter): Like filtering Amazon for "128GB." It instantly sums all matching items.
* UDA (The Hashtag): Like #Bestseller. It doesn't sum anything, but it tells a "Discount Script" which items to apply a coupon to.
3. Key Differences
| Feature | Attribute Dimension | UDA |
| :--- | :--- | :--- |
| Provides Totals? | Yes (Dynamic) | No |
| Used in Smart View? | Yes | No |
| Used in Calc Scripts? | Yes | Yes (Powerful) |