Forum Discussion
Summitreached
9 years agoFrequent Visitor
Create a new table pivot from calculated columns
Hi, I am very new to this but trying to convert the following table where JAN - DEC are calculated columns: Resource Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec A 0.5 ...
- Anonymous9 years ago
Hi Summitreached,
If this is a case, you can try to add a distinct function outside of your formula, this function also works on table.
NewTable= DISTINCT( UNION ( SUMMARIZE( OldTableName, OldTableName[Resource], "Month", "Jan", "Value", OldTableName[Jan] ), SUMMARIZE( OldTableName, OldTableName[Resource], "Month", "Feb", "Value", OldTableName[Feb] ), etc... )Regards,
Xiaoxin Sheng
- 9 years ago
Hi Xiaoxin,
That worked perfectly!
Many thanks again,
Killian
Summitreached
9 years agoFrequent Visitor
Hi Xiaoxin,
All the information is given above.
Thanks again,
Killian
Anonymous
9 years agoNot applicable
Hi Summitreached,
If this is a case, you can try to add a distinct function outside of your formula, this function also works on table.
NewTable=
DISTINCT(
UNION (
SUMMARIZE(
OldTableName,
OldTableName[Resource],
"Month", "Jan",
"Value", OldTableName[Jan]
),
SUMMARIZE(
OldTableName,
OldTableName[Resource],
"Month", "Feb",
"Value", OldTableName[Feb]
), etc...
)
Regards,
Xiaoxin Sheng
- Summitreached9 years agoFrequent Visitor
Hi Xiaoxin,
That worked perfectly!
Many thanks again,
Killian