📜  power BI DAX 获取人员首字母 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:45.908000             🧑  作者: Mango

代码示例1
If the initial appears first in the full name:

FirstInitial = LEFT('Clients'[ClientFullname],1)

-----------------------------------------------------------------------------

If your full name contains a title:
Extract the title and store in 'Clients'[Title] then in DAX,

FirstInitial = LEFT(SUBSTITUTE('Clients'[ClientFullname],'Clients'[Title]&" ",""),1)