DAX Function Guide
GENERATEALL
Sam McKay
CEO & Founder
How does the GENERATEALL work?
GENERATEALL Formula Syntax
GENERATEALL(<table1>, <table2>)
How do you use the GENERATEALL?
All column names from table1 and table2 must be different or an error is returned.
Related Blog Posts
Loading
Considerations when using the GENERATEALL?
If the evaluation of table2 for the current row in table1 returns an empty table, then the current row from table1 will be included in the results and columns corresponding to table2 will have null values for that row. This is different than GENERATE() where the current row from table1 will not be included in the results.
Related Video Tutorials
Loading
Formula examples using the GENERATEALL
GENERATEALL(
SUMMARIZE(SalesTerritory, SalesTerritory[SalesTerritoryGroup])
,SUMMARIZE(ProductCategory
, [ProductCategoryName]
, "Reseller Sales", SUMX(RELATEDTABLE(ResellerSales_USD), ResellerSales_USD[SalesAmount_USD])
)
)
Related Courses
Loading