Ravindra Bagale · Power BIसर्व coursesया course चे lessonsशोधाEnglish

Power BI · मराठी आवृत्ती

20.6 Gradient, Rules आणि Field value

रवींद्र बागले यांच्या course वर आधारित · सहज मराठीत explanation

Styleकसं काम?उदाहरण
GradientValue rangeनुसार colour scaleकमी delivery time green, जास्त red
RulesThresholdनुसार colours≤10 green;10–15 amber;>15 red
Field valueMeasure hex / colour देतोReusable Delivery Time Colour
Delivery Time Colour =
VAR t = [Avg Delivery Time (mins)]
RETURN
SWITCH(TRUE(),
    ISBLANK(t), BLANK(),
    t <= 10, "#107C10",     -- green
    t <= 15, "#F2A900",     -- amber
    "#D13438")              -- red: slower than 15 minutes
  1. Store Name, Orders, Avg Time, Cancellation table बनवा.
  2. Avg Time field dropdown › Conditional formatting › Background; किंवा Cell elementsमध्ये त्या columnला fx.
  3. Rules, Values only, based on Avg Time measure.
  4. 0–10 green, >10–15 amber, >15 red. Maximum999सारखी arbitrary सीमा असेल तर त्यापुढच्या valuesचाही rule ठेवा.
  5. पर्याय: Field value › Delivery Time Colour measure.
  6. Backgroundशी contrast जुळवण्यासाठी font-colour measure वापरता येतो.

Blank valuesला don’t format किंवा neutral colour द्या. Deliveryच नाही असा store perfect green दिसू नये.