Forum Discussion
Array formula
- 7 years ago
Hi kranthi82 ,
Try to use the following calculated column:
Log_Dax_Based = 'Table'[LogTime] - CALCULATE ( MIN ( 'Table'[LogTime] ); ALLEXCEPT ( 'Table'; 'Table'[ID] ) )You can also do it based on a query editor, check the PBIX file with both options.
I also got a Logs Excel column so you can compared it with the results.
Regards,
MFelix
Hi dax ,
Thank you so much for your effort but I think I need to reframe the question. My original data doesn't contain column Log. I would like to write a DAX formuala so that I can get column Log. In excel to get that column I use an array formula and I don't know how to do it with DAX. I hope you understand my problem now.
Hi kranthi82 ,
Try to use the following calculated column:
Log_Dax_Based =
'Table'[LogTime]
- CALCULATE ( MIN ( 'Table'[LogTime] ); ALLEXCEPT ( 'Table'; 'Table'[ID] ) )
You can also do it based on a query editor, check the PBIX file with both options.
I also got a Logs Excel column so you can compared it with the results.
Regards,
MFelix
- kranthi827 years ago
Helper I
Hi again MFelix ,
Thanks a lot once again for the solution.
I came across another problem while plotting where I don't wanna use summarize. How can I do that. You plotted values with average and if I use SUM then it turns out to be like this.
I'd like to just plot log to the values by using any of the visuals.
Thank you in advance,
/Kranthi.