Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 DAX 新手,如何从下表中计算特定玩家的跑动数。我的表名PlayersData。例如,要从表中计算 sachin tendulkar 的总运行次数。需要 Dax 公式..
我试过这个来获得表格中出现的virat Kohli:
:=COUNTROWS(VALUE(PlayersData[Name] = "Virat Kohli"))
但是,它显示错误..
提前致谢...
最后,查询给出了我需要的结果:
TotalRunsOfKohli:=CALCULATE(SUM('Players Data'[Runs]),'Players Data'[Name]="Virat Kohli")