1
我嘗試使用GROUP BY DAX功能PowerBI的措施,新列,新表,但我在驗證功能得到一個錯誤,如何在PowerBI中使用GROUPBY函數?
New Table = GROUPBY(
'tab1',
'tab1'[color],
"Group By color",
sum('tab1'[count_lables])
)
Error : Function 'GROUPBY' scalar expressions have to be Aggregation functions over CurrentGroup(). The expression of each Aggregation has to be either a constant or directly reference the columns in CurrentGroup().
感謝@alejandro zuleta它現在適用於我,您是否知道在Power BI中可使用GROUPBY和SUMMERIZE的材料? –
@DaveD。,不客氣。當然,請查看Marco Russo的[這篇文章](http://www.sqlbi.com/articles/nested-grouping-using-groupby-vs-summarize/)文章。 –