Forum Discussion
Downsampling data
- Anonymous4 years ago
Hi JrKoh ,
You can create a calculated column like
Time = TIME(HOUR([DateTime]),MINUTE([DateTime]),0)Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 4 years ago
Hi Stephen,
With your solution in mind, I found a way to downsample the data. I created 2 calculated column, Time_1min and Time_H and wrote another DAX measure and put it into the chart filter. I then key in the number into the filter to determine which sampling:Downsample =SWITCH(TRUE(),SUM(Sensor[Time]) == SUM(Sensor[Time_H]),1,SUM(Sensor[Time]) == SUM(Sensor[Time_1min]),3)per hourper min
Hi JrKoh ,
You can create a calculated column like
Time = TIME(HOUR([DateTime]),MINUTE([DateTime]),0)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Stephen,
With your solution in mind, I found a way to downsample the data. I created 2 calculated column, Time_1min and Time_H and wrote another DAX measure and put it into the chart filter. I then key in the number into the filter to determine which sampling:
Downsample = SWITCH( TRUE(), SUM(Sensor[Time]) == SUM(Sensor[Time_H]),1, SUM(Sensor[Time]) == SUM(Sensor[Time_1min]),3 ) |
per min