Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I need help with the DAX below:
EVALUATE
CALCULATETABLE (
SUMMARIZE (
fVendas,
dadosFILIAL[ID],
fVendas[NF],
"PRODUCT 1", CALCULATE (
[Volume do Periodo],
FILTER ( dProdutos, dProdutos[typeProduct] = "PRODUCT 1" )
),
"PRODUCT 2", CALCULATE (
[Volume do Periodo],
FILTER ( ALL ( dProdutos ), dProdutos[typeProduct] = "PRODUCT 2" )
)
),
FILTER ( dProdutos, dProdutos[BRAND] = "BRAND X" )
)
Solved! Go to Solution.
Thanks for all.
I read 1000x and change the DAX and it worked.
EVALUATE
CALCULATETABLE (
ADDCOLUMNS(
SUMMARIZE (
fVendas,
dadosFILIAL[ID],
fVendas[NF],
"PRODUCT 1", CALCULATE (
[Volume do Periodo],
FILTER ( dProdutos, dProdutos[typeProduct] = "PRODUCT 1" )
)
),"PRODUCT 2",
CALCULATE (
[Volume do Periodo],
FILTER ( ALL ( dProdutos ), dProdutos[typeProduct] = "PRODUCT 2" )
)
),
FILTER ( dProdutos, dProdutos[BRAND] = "BRAND X" )
)
As I understand it, when taking it out of the SUMMARIZE, he can apply ALL (dProduct). And within the SUMMARIZE he already received the FILTER from CALCULATETABLE before performing ALL. I don't know if I'm talking nonsense.
Thanks for all.
I read 1000x and change the DAX and it worked.
EVALUATE
CALCULATETABLE (
ADDCOLUMNS(
SUMMARIZE (
fVendas,
dadosFILIAL[ID],
fVendas[NF],
"PRODUCT 1", CALCULATE (
[Volume do Periodo],
FILTER ( dProdutos, dProdutos[typeProduct] = "PRODUCT 1" )
)
),"PRODUCT 2",
CALCULATE (
[Volume do Periodo],
FILTER ( ALL ( dProdutos ), dProdutos[typeProduct] = "PRODUCT 2" )
)
),
FILTER ( dProdutos, dProdutos[BRAND] = "BRAND X" )
)
As I understand it, when taking it out of the SUMMARIZE, he can apply ALL (dProduct). And within the SUMMARIZE he already received the FILTER from CALCULATETABLE before performing ALL. I don't know if I'm talking nonsense.
Your Summarize is returning a table.
Then your Calculate Table is taking that table and filtering out products without brand X, and that filter is propigating to the SUMMARIZE table.
to see this, get rid of the CALCULATETABLE and FILTER function, Just look at what your SUMMARIZE is doing first. If that is ok, then you'll need to do something else in the FILTER.
For any further assistance, you'll need to link to a PBIX file in ONeDrive or Dropbox or similar. Don't put tables in a post. Your model needs to be examined. Remove any confidientail info or create a model with fake data.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI think the filter on the top table is removing it. The only measure which can get filter is Product 1, move filter there
SUMMARIZE (
fVendas,
dadosFILIAL[ID],
fVendas[NF],
"PRODUCT 1", CALCULATE (
[Volume do Periodo],
FILTER ( dProdutos, dProdutos[typeProduct] = "PRODUCT 1" && dProdutos[BRAND] = "BRAND X")
),
"PRODUCT 2", CALCULATE (
[Volume do Periodo],
FILTER ( ALL ( dProdutos ), dProdutos[typeProduct] = "PRODUCT 2" )
)
)
Hi,
Share some data, explain the business context and show the expected result.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.