Forum Discussion
DionTN
Helper II
4 years agoCreate new table based on calculated functions.
I have some quick measurements and want to make a temporary table like this one: Fullname is a selected field based on filters, the bodycomps are calculated fields. How can I make a temporary ...
- 4 years ago
Hi DionTN ,
Are you instead referring to calculated table? There are more than one ways to do this in Power BI. An example where existing measures are used:
calctable = ADDCOLUMNS ( SUMMARIZE ( FILTER ( 'table', 'table'[column] = "criteria" ), 'table'[column] ), "Measure 1", [Measure 1], "Measure 2", [Measure 2] )
danextian
Super User
4 years agoHi DionTN ,
Are you instead referring to calculated table? There are more than one ways to do this in Power BI. An example where existing measures are used:
calctable =
ADDCOLUMNS (
SUMMARIZE ( FILTER ( 'table', 'table'[column] = "criteria" ), 'table'[column] ),
"Measure 1", [Measure 1],
"Measure 2", [Measure 2]
)
DionTN
Helper II
4 years agois it also possible to ad a var in this table? danextian
calctable =
ADDCOLUMNS (
SUMMARIZE ( FILTER (usermeasurements, usermeasurements[users.company.Name] = [Bedrijf]), usermeasurements[Fullname] ),
"Measure 1", [FirstValue],
"Measure 2", [LastValue]
)
Now i tried this without succes: