Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is it possible to return a table expression result as a value and use it as a measure in my model.
I receive an error when trying to use this as a measure in my analysis. "SummerizeColumns() and AddMissingItems()" may not be used in this context"
My syntax is
MEASURENAME:=
RETURN
GROUPBY (
SUMMARIZECOLUMNS (
TABLE1[COLUMNA],
TABLE1[COLUMNB],
"value", [amount]
),
"test", SUMX ( CURRENTGROUP (), [value] )
)
Hi @andymcgurty
itis impossible to use table as a measure calculation result
you should either use the either aggregation or exactly cell value
maybe you should use construction like
= CALCULATE(SUM([amount]), ALLEXCEPT( TABLE1, TABLE1[COLUMNA], TABLE1[COLUMNB]))
do not hesitate to give a kudo to useful posts and mark solutions as solution
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |