Forum Discussion
Timestamps duplicate rows - break into columns
- 5 years ago
Hi damonkimble ,
IF you want to two different column ,may you should create two column as follows:
Traveling#1 = var _rank=IF([TimeStamp Taveling]<>BLANK(),RANKX('Table',[TimeStamp Taveling])) return IF(_rank=1,[TimeStamp Taveling])Traveling#2 = var _rank=IF([TimeStamp Taveling]<>BLANK(),RANKX('Table',[TimeStamp Taveling])) return IF(_rank=2,[TimeStamp Taveling])The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi damonkimble ,
IF you want to two different column ,may you should create two column as follows:
Traveling#1 = var _rank=IF([TimeStamp Taveling]<>BLANK(),RANKX('Table',[TimeStamp Taveling]))
return IF(_rank=1,[TimeStamp Taveling])Traveling#2 =
var _rank=IF([TimeStamp Taveling]<>BLANK(),RANKX('Table',[TimeStamp Taveling]))
return IF(_rank=2,[TimeStamp Taveling])
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Good Morning v-yalanwu-msft ,
Thank you! Quick question, TimeStamp Traveling is actually a customized column where if the booking status = "Traveling" then get the timestamps.
I tried creating the columns Traveling#1 and #2 but nothing is displaying. I also tried to redefine the TimeStamp Traveling column, but no result.
Here is the dax code for TimeStamp Traveling before modifying:
Here is the modification I made: