Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have two tables that have this structure:
Feedback Table
Year | Month | Person | Sector | Year-Month-Status |
2022 | 1 | Jack | B | 2022-1-Z |
2022 | 1 | Ellen | A | 2022-1-T |
2022 | 2 | David | D | 2022-2-Z |
2022 | 3 | Alice | C | 2022-3-A |
... | ... | ... | ... | ... |
Objectives Table
Year | Month | Sector | Goal | Year-Month-Status |
2022 | 1 | A | 15 | 2022-1-A |
2022 | 1 | B | 11 | 2022-1-B |
2022 | 1 | C | 17 | 2022-1-C |
2022 | 1 | D | 20 | 2022-1-D |
2022 | 2 | A | 24 | 2022-2-A |
2022 | 2 | B | 33 | 2022-2-B |
2022 | 2 | C | 45 | 2022-2-C |
2022 | 2 | D | 36 | 2022-2-D |
... | ... | ... | ... | ... |
I want to create a chart that shows the COUNT of feedbacks for each Sector in each month of the year, with the objective line adapting to the objective of each month and sector of the Objectives table.
I would also like that if the Sector objective for the month was reached, the bar would turn green, if not, the bar would turn red.
I created a column that concatenates Year, Month and Sector in the two tables (Year-Month-Status column), to be able to generate a kind of ID and related the two tables by that ID, but I don't know what else to do. I've already created the chart that shows the count of feedbacks per Sector and per month, but when I enter the Objective value for the goal line (from the Objective table), the line appears straight, indicating "objective count", as in the image below:
When actually I wanted my chart to look something like this:
Can someone help me?
Solved! Go to Solution.
Hi @req77 ,
The line and clustered column chart does not support adding a conditional judgment condition based on column. You can try to use table visual, create measure, and use format->conditional formatting function, refer to the following.
Measure 2 = IF(MAX('Table'[Goal ])>=25,"green","red")
In addition you can create measures as trend lines (e.g. averages) to be placed in the visual counterpart.
Measure = AVERAGE('Table'[Goal ])
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @req77 ,
The line and clustered column chart does not support adding a conditional judgment condition based on column. You can try to use table visual, create measure, and use format->conditional formatting function, refer to the following.
Measure 2 = IF(MAX('Table'[Goal ])>=25,"green","red")
In addition you can create measures as trend lines (e.g. averages) to be placed in the visual counterpart.
Measure = AVERAGE('Table'[Goal ])
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
No one? 😞
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
98 | |
76 | |
66 | |
59 |
User | Count |
---|---|
142 | |
106 | |
103 | |
85 | |
70 |