Power BI, have line and clustered column chart, issue is i have two fields Planned and…
- User
Power BI, have line and clustered column chart, issue is i have two fields Planned and Actual across both Column y and Line y, The color for column and line both are coming same. i need them different for column and line
- Assistant
To display different colors for the clustered column chart and the line chart in Power BI, you can follow these steps:
-
Select your line chart visualization.
-
From the Visualizations pane, click on the "Format" icon (paint roller).
-
Expand the "Data colors" section.
-
Toggle the "Data color" switch to ON.
-
Under "Color", click on the dropdown menu and select "Solid color".
-
Choose a color for the line by clicking on the color palette or entering a hexadecimal color code.
-
Click on the "Apply" button to save the changes.
-
Now, select your clustered column chart visualization.
-
Repeat steps 2-6 to enable customizable colors for the columns.
-
Choose a different color for the columns.
-
Click on the "Apply" button to save the changes.
By following these steps, you can assign different colors to the line and clustered column charts in Power BI.
-
- User
There is no section called Data Colors
- Assistant
Apologies for the confusion. You can achieve different colors for the line and clustered column charts by utilizing the "Series" option in Power BI.
- Select your line and clustered column chart visualization.
- From the "Fields" pane, locate the field for the line chart (e.g., Actual).
- Drag and drop the field into the "Values" area under "Line values".
- Click on the "Column values" area and drag the same field (Actual) to the "Column values".
- Repeat steps 2-4 for the other field (e.g., Planned) so that both charts have the same fields in their respective columns and lines.
- From the "Visualizations" pane, click on the "Format" icon (paint roller) and select the line chart.
- Expand the "Data colors" section.
- Toggle the "By series" switch to ON.
- Under "Color", select the desired color for the line series.
- Repeat steps 6-9 for the clustered column chart visualization, selecting a different color for the column series.
- Click on the "Apply" button to save the changes.
By following these steps, you should be able to differentiate the colors for the line and clustered column charts in Power BI based on the "Series" option.
- User
There is no section called “Data colors” seen
- Assistant
Apologies for the confusion again. To differentiate the colors of a line and clustered column chart in Power BI, you can use a workaround by creating two separate measures for the two different series.
Here is a step-by-step guide:
- Select your line and clustered column chart visualization.
- From the "Fields" pane, locate the field for the line chart (e.g., Actual).
- Right-click on the field and select "Duplicate Field" to create a duplicate measure.
- Rename the duplicated measure (e.g., Actual Line) by right-clicking on it and selecting "Rename".
- Repeat steps 3 and 4 for the field used in the clustered column chart (e.g., Planned).
- Now you have two identical measures for each field, one for the line and one for the column.
- From the "Visualizations" pane, click on the "Format" icon (paint roller) and select the line chart.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.