Power BI モデルに Employee という名前のテーブルがあります。このテーブルには次のデータが含まれています。 ParentEmployeeID列に示されているように、各従業員には1人のマネージャーがいます。 組織階層の頂点に立つCEOに、すべての報告経路が繋がっている。 各従業員からCEOまでの階層数を返す計算列を作成する必要があります。 どのDAX式を使用すべきですか?
正解:A
PATH returns a string containing "the identifiers of all the parents to the current identifier", whereas PATHLENGTH returns "the number of items that are parents to the specified item." https://learn.microsoft.com/en-us/dax/path-function-dax