# 20.8 Charts आणि cardsना KPI colours

Source: https://ravindrabagale.com/mr/powerbi/ch20-dynamic-text-and-dynamic-colour-conditional/20-8-kpi-based-colouring-in-charts-and-cards.html
Language: mr (Marathi with English technical terms)

Store Name / Avg Delivery Time bar chart बनवा.

Legendमुळे fx उपलब्ध नसेल तर legend काढून test करा; support visualनुसार बदलतो.

Bars › Colors › fx › Field value › Delivery Time Colour.

15-minute reference line व स्पष्ट label द्या.

Cancellation Colour = IF([Cancellation Rate] > 0.05, "#D13438", "#107C10")   -- 5% is a practice threshold

Platform Colour = SWITCH(SELECTEDVALUE(Orders[Platform]), "Blinkit", "#F2C811", "Amazon Now", "#232F3E", "#8A8886")

5% cancellation threshold आणि platform colours हे practice choices आहेत. Cancellation Colour exampleमध्ये blank handling जोडा म्हणजे no-data card green होणार नाही. उपलब्ध fxद्वारे callout, background, title, markers, button / shape colours बदलता येतात.

Accessibility

Red / green एकट्यावर अवलंबून राहू नका. Label, icon किंवा pattern द्या आणि contrast तपासा.

Practice

Selected cities / platform title; delivery colour bars; Orders data bars; Cancellation icons; अचूक population वापरणारी narrative card बनवा.

Chapter recap

fx support तपासा, selection cases test करा आणि metric direction जुळवा. पुढे dynamic charts.

रवींद्र बागले यांची tip

Threshold अनेक measuresमध्ये वेगळा hard-code करू नका. एक target measure / table वापरा आणि सर्व rulesना तोच संदर्भ द्या.
