Forum Discussion
Anonymous
6 years agoNot applicable
Values form multiple rows to one row
Hello, I would like to have values from multiple rows into one row. For this ID i have multiple dates in multiple rows which i would like to have in one row. I would like to do this in...
- 6 years ago
Hi Anonymous
You can create a Table using DAX like below.
Table 2 = ADDCOLUMNS( VALUES( 'Table'[ID] ), "Date1", CALCULATE( MAX( 'Table'[Date1] ) ), "Date2", CALCULATE( MAX( 'Table'[Date2] ) ), "Date3", CALCULATE( MAX( 'Table'[Date3] ) ) )Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
Mariusz
6 years agoCommunity Champion
Hi Anonymous
You can create a Table using DAX like below.
Table 2 =
ADDCOLUMNS(
VALUES( 'Table'[ID] ),
"Date1", CALCULATE( MAX( 'Table'[Date1] ) ),
"Date2", CALCULATE( MAX( 'Table'[Date2] ) ),
"Date3", CALCULATE( MAX( 'Table'[Date3] ) )
)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.

Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
Anonymous
6 years agoNot applicable
Thanks Mariusz
This is the solution!