文本列
本课属于 Coddy Power BI 学习旅程的“Power BI 基础”单元。第 23 课,共 28 课。
& 用于连接文本。
Location = Stores[City] & ", " & Stores[Country]UPPER、LOWER、LEFT(text, n) 和 LEN 可以更改或测量文本。
Short Name = UPPER(LEFT(Products[Product], 3))挑战
简单向 Stores 添加一列 Location,内容格式类似于 "Lisbon, Portugal":城市、逗号和空格,然后是国家。
亲手试试
报表数据模型
Location =| Store | City | Location |
|---|---|---|
| Lisbon Riverside | Lisbon | |
| Porto Ribeira | Porto | |
| Madrid Centro | Madrid |
字段
- Sales
- Products
- Stores
- StoreID
- Store
- City
- Country
- OpenDate
- Customers
- Dates
- Targets