Forum Discussion
Shaping Dates into categories
Hi, Freeseman
Try to use 'Line and clustered column chart' to replace 'clustered column chart' so that you can add custom line chart as below:
Average of Part1 = if(MAX('Fact Table'[Category (groups)])="Part1",CALCULATE(AVERAGE('Fact Table'[Value]),FILTER(ALL('Fact Table'),'Fact Table'[Category (groups)]="Part1")))Average of Part2 = if(MAX('Fact Table'[Category (groups)])="Part2",CALCULATE(AVERAGE('Fact Table'[Value]),FILTER(ALL('Fact Table'),'Fact Table'[Category (groups)]="Part2")))
......
Best Regards,
Community Support Team _ Eason
This is extremely helpful.
I need the average of the SUM of production per group. I tried this:
- Freeseman4 years ago
Helper II
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
- v-easonf-msft4 years ago
Community Support
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- 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?