Forum Discussion
Shaping Dates into categories
I think it has something to do with the way its grouping the times vs reading the production value?
Production is SUM over multiple timestamps because there are many production values from different machines in the hours. SO i need the sum of the total hour groups production which i believe is possible but the meassure needs to change calculation?
Its making all average line 97.xx
Hi, Freeseman
Please convert the chart into a table visual, which will be easy to find the problem.
Can you share a copy of the sample data?
Best Regards,
Community Support Team _ Eason
- v-easonf-msft4 years ago
Community Support
Hi, Freeseman
If possible, upload a sample file to cloud storage and share the link here.
Best Regards,
Community Support Team _ Eason - Freeseman4 years ago
Helper II
Thank you.
The data is a lot to share as i have many other tabes from other DB tables.
The way you explain to me is very good and helps me a lot. I just need to fix meassure calculation?
- v-easonf-msft4 years ago
Community Support
Hi, Freeseman
I suspect this has something to do with the date slicers.
Is 'Shift Date' a field in a separate calendar table?
Will the result of the current measure "Evening Shift Change" change with the value of slicer 'shift_date'?
After you clear the filter criteria for the date slicer, is the calculation result correct?
NS Lunch = IF ( MAX ( 'PRODUCTION'[TIMESTAMP (groups)] ) = "2. NS Lunch", CALCULATE ( AVERAGE ( 'PRODUCTION'[PRODUCTION] ), FILTER ( ALL ( 'PRODUCTION' ), 'PRODUCTION'[TIMESTAMP (groups)] = "2. NS Lunch" && 'PRODUCTION'[Shift Date] IN VALUES ( 'PRODUCTION'[Shift Date] ) ) ) )Best Regards,
Community Support Team _ Eason - Freeseman4 years ago
Helper II
I tried to upload the file for you but its not allowing me.
I tried your new measure but same issue... i am not sure where it is taking this average from because i need the average of the 2 totals (0 and 23)
- Freeseman4 years ago
Helper II
- Freeseman4 years ago
Helper II
Hi v-easonf-msft , Struggle with company procedure.
Does this help
I have time stamps but the average is calculated per row and not per category?
- Freeseman4 years ago
Helper II
v-easonf-msft I inbox you.
- Freeseman4 years ago
Helper II
v-easonf-msft Please look. 🙂
I need help caterorising average per time category per day but also drag slider and need average over time.
- v-easonf-msft4 years ago
Community Support
Hi, Freeseman
Sorry for later reply. The link seems to have expired, can you share it again?
Best Regards,
Community Support Team _ Eason