Forum Discussion
Balaraju
4 years agoHelper III
How To split alternative rows into different name
Hi All Good Morning, I have one scenario like a time column having time for every day based on user ID, time column will give the in and out the tracking of the user. Consider every day first-tim...
- 3 years ago
Hi Balaraju,
Please create an index column in Power Query.
Then try following DAX:
Type = var cur_index='table'[Index] var confirm=MOD(cur_index,2) return IF(confirm=0,"Out","In")You can get result you want.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yadongf-msft
3 years agoCommunity Support
Hi Balaraju,
Please create an index column in Power Query.
Then try following DAX:
Type =
var cur_index='table'[Index]
var confirm=MOD(cur_index,2)
return
IF(confirm=0,"Out","In")
You can get result you want.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.