Forum Discussion
Shift value in a column by Dax function
Hi Anonymous
Try this
create one column
if(table[Column1]<=4,Column2,Lookupvalue(table[Column2],table[Column1],table[Column1]-4)
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
- Anonymous6 years agoNot applicable
Hello Anonymous ,
Can we express it as a Measure like DATEADD or PARALLELPRERIOD?
In detail, I want to calculate a total Count with Previous Date Period but My data drilled down by Hour. When I use DATEADD or PARALLELPRERIOD, in thrown an exception because column date has duplicated value.
My date by count like
Time Count 01/01/2018 10:00:00 PM 4 01/01/2018 11:00:00 PM 2 02/01/2018 12:00:00 AM 2 02/01/2018 01:00:00 AM 6 02/01/2018 02:00:00 AM 4 02/01/2018 03:00:00 AM 9 02/01/2018 04:00:00 AM 0 - amitchandak6 years agoSuper User
Can You explain with the exact source and output? not making it clear using two posts. Mark me @
- Anonymous6 years agoNot applicable
Hi Anonymous
Your main question is differant than this now.
Could you please share sample data and expected output.
Thanks,
PRavin