Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sshetty014
Frequent Visitor

can i customize the color displayed in the bar chart in Real time dashbaord in Fabric

Hi I have couple of questions with Real time dashboard in fabric

1. I am looking for a solution where i can swap the color of the bars in my below bar chart. In the Visual i couldnt find any settings to do so, also programatically i was not able to find a solution for it . I tried using Hex Code but that did not help

sshetty014_0-1742808707919.png

2. If you see the above legend I can see that it displays QueryStatus:Cancelled:Percentage , but I dont want to show Percentage keyword in the legend , how to achieve this.
below is the query Im using for the above chart 

let lookup = silver_customerqueries
| join kind=inner external_table('querytypes') on QueryTypeID
| join kind=inner silver_querystatuses on QueryID
| extend QueryStatus = case(
    QueryStatus in ("In Progress", "New", "Escalated"), "Unresolved",
    QueryStatus
)
| project QueryID, OrderItemID, QueryTypeID, QueryType, QueryStatus;

lookup
| summarize Count = count() by QueryType, QueryStatus
| join kind=inner (lookup | summarize TotalCount = count() by QueryType) on QueryType
| extend Percentage = round(100 * Count / TotalCount, 2)
| project QueryType, QueryStatus, Percentage
1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @sshetty014,

Thanks for reachig MS Fabric community support.

 

 1. Fabric’s Real-Time Dashboard doesn’t provide direct color customization in the UI. However use Power BI Desktop to create and customize your real-time dashboard, follow these steps to find the Format Visual settings:

Step 1: Open Your Power BI Report

Open Power BI Desktop > Load your dataset (either from Fabric Real-time Streaming or any other source) > Select the Stacked Bar Chart (or the chart you're using for your real-time dashboard).

 

Step 2: Open the Format Visual Pane

Click on the visual (your bar chart) > On the right-side panel, look for the Visualizations pane > Click on the paint roller icon (this is the "Format Visual" button).

 

Step 3: Change the Data Colors

Scroll down in the Format Visual pane  > Find the "Data Colors" section > Click on each category (QueryStatus:Cancelled, QueryStatus:Closed, etc.) > Choose a custom color for each category.

 

Step 4: Save and Publish

After setting the colors, Save the report  > Click Publish to upload it to the Power BI Service. > If using Fabric Real-Time Dashboard, ensure your dataset is connected.

 

 

 2. The legend displays field names exactly as they appear in your dataset. To remove Percentage, you need to rename the column dynamically in your query. Try modifying your final projection:

lookup
| summarize Count = count() by QueryType, QueryStatus
| join kind=inner (lookup | summarize TotalCount = count() by QueryType) on QueryType
| extend Percentage = round(100 * Count / TotalCount, 2)
| project QueryType, Legend = strcat(QueryStatus, ""), Percentage

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

View solution in original post

1 REPLY 1
v-prasare
Community Support
Community Support

Hi @sshetty014,

Thanks for reachig MS Fabric community support.

 

 1. Fabric’s Real-Time Dashboard doesn’t provide direct color customization in the UI. However use Power BI Desktop to create and customize your real-time dashboard, follow these steps to find the Format Visual settings:

Step 1: Open Your Power BI Report

Open Power BI Desktop > Load your dataset (either from Fabric Real-time Streaming or any other source) > Select the Stacked Bar Chart (or the chart you're using for your real-time dashboard).

 

Step 2: Open the Format Visual Pane

Click on the visual (your bar chart) > On the right-side panel, look for the Visualizations pane > Click on the paint roller icon (this is the "Format Visual" button).

 

Step 3: Change the Data Colors

Scroll down in the Format Visual pane  > Find the "Data Colors" section > Click on each category (QueryStatus:Cancelled, QueryStatus:Closed, etc.) > Choose a custom color for each category.

 

Step 4: Save and Publish

After setting the colors, Save the report  > Click Publish to upload it to the Power BI Service. > If using Fabric Real-Time Dashboard, ensure your dataset is connected.

 

 

 2. The legend displays field names exactly as they appear in your dataset. To remove Percentage, you need to rename the column dynamically in your query. Try modifying your final projection:

lookup
| summarize Count = count() by QueryType, QueryStatus
| join kind=inner (lookup | summarize TotalCount = count() by QueryType) on QueryType
| extend Percentage = round(100 * Count / TotalCount, 2)
| project QueryType, Legend = strcat(QueryStatus, ""), Percentage

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

Real Time Intelligence in a Day

Real-Time Intelligence in a Day—Free Training

Turn streaming data into instant insights with Microsoft Fabric. Learn to connect live sources, visualize in seconds, and use Copilot + AI for smarter decisions.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors