Forum Discussion
Shaping Dates into categories
Anybody have ideas:)
Hi, Freeseman
You need to enter a custom table and then sort Column ‘Category’ by Column 'Sort column'.
After you establish a relationship between the custom table and the fact table, you can replace the existing fields with the new fields like below:
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Freeseman4 years ago
Helper II
v-easonf-msft Thank you for the advice. Please see https://community.powerbi.com/t5/Desktop/Average-per-Category-Please-help/m-p/2702026#M945089
I managed to get this far. Is the next step possible?
- v-easonf-msft4 years ago
Community Support
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- Freeseman4 years ago
Helper II
Wow, i am amazed. 🙂 Thank you. Let me try this.