This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have a calculated table
Combine work per date =
UNION(
SELECTCOLUMNS(
'Work',
"Date', <expression>,
"Minutes", <expression>
),
SELECTCOLUMNS(
'Work',
"Date', <expression>,
"Minutes", <expression>
)
)that I want to aggregate with SUMMARIZE()
Aggregate work per date =
VAR tbl = 'Combine work per date'
RETURN
SUMMARIZE(
tbl,
[Date],
"Minutes", SUM([Minutes])
)Referencing the [Date] column is no problem, but referencing [Minutes] in the SUM() aggregation leads to an
Cannot identify the table that contains [Minutes] column. error.
How can I work around this?
Bucause SUMX is an iterator function.
When you are writing measure should should always include the table name when referencing a column and never include the table name when referencing a measure. It you measure it looks like [Minutes] is a measure.
Aggregate work per date =
VAR tbl = 'Combine work per date'
RETURN
SUMX ( tbl, [Minutes] )
Also, either of these measure should return the same data as the first one.
Aggregate work per date = SUMX ( 'Combine work per date', 'Combine work per date'[Minutes] )Aggregate work per date = SUM ( 'Combine work per date'[Minutes] )
You are totally wrong.
My question is rather: Why can I access a [column] of a table variable, but only use it in SUMX() not SUM()?
Thanks for the hint with SUMX, but in a measure I could even use
Aggregate work per date =
VAR tbl = 'Combine work per date'
RETURN
SUMX ( tbl, [Minutes] )which includes a table variable.
You should be able to do it with a SUMX like this.
Aggregate work per date =
SUMX (
VALUES ( 'Combine work per date'[Date] ),
CALCULATE ( SUM ( 'Combine work per date'[Minutes] ) )
)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |