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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Sarasvathi
New Member

PROGRESS TRACKER - By Sectors, Stage & Status

Hi all,

 

Currently, I am trying to build a tracker using the sample data below, I have tried to build one, but STAGE is not following the assigned order. If you notice, the STAGE for all the sectors are same.

 

Sarasvathi_0-1735629200471.png

 

As attached below, this is the initial draft of the tracker built using the line chart, however, I want to indicate the colour of markers based on the status: Completed - Green, In Progress - Yellow, Not Started - Red. I want the tracker to be aligned with the sector slicer. Can someone help me with this ?

 

Sarasvathi_1-1735629578259.png

 

 

Regards,

Saras

 

1 REPLY 1
shafiz_p
Resident Rockstar
Resident Rockstar

Hi @Sarasvathi  There is no option in the marker color to make it dynamic. There are many option out there to achieve such functionality. 

 


Here is my suggestions.

 

Approach 1:

First Create a clustered column chart and then convert it back to line chart. Find the details below:

shafiz_p_0-1735637022833.png

Create a static value measure:

Static = 1

 

In x axis place Stages and in y axis place the static measure. You will get visual as follows:

shafiz_p_1-1735637139100.png

Create a lable color measure:

Label Color = 
SWITCH(
    TRUE(),
    MAX('Table'[STATUS]) = "Completed", "Green",
    MAX('Table'[STATUS]) = "Inprogress", "Yellow",
    MAX('Table'[STATUS]) = "Not Started", "Red"
)

Now go to coloumn section and click fx icon in color option and select field value and place the Label color measure:

shafiz_p_2-1735637221726.png

After placing lable color , you will get the below image:

shafiz_p_3-1735637295026.png

Now select the visual and turn this back to line chart. See image below after convert to line chart:

shafiz_p_4-1735637355980.png

 

 

Approach 2:

Use a data lable to identify such status. Now go to data level and turned it on.  I have only one series, which is target. Go to value section of the data level and replace default with the custome lable. Try this:

 

Target Label = 
IF(
    SELECTEDVALUE('Table'[STAGE]) = MAX('Table'[STAGE]),
    "▼",  -- Useing windows key + ;, you will get emoji option, from there go to geometric symbol
    BLANK()
)

 

shafiz_p_0-1735632941370.png

 

Now you would be able to dynamically color and identify status. You can use either, Rules or Field value option. For rules, add each conditon:

shafiz_p_1-1735633033476.png

 

If you would like to use field value then try below code:

 

Label Color = 
SWITCH(
    TRUE(),
    MAX('Table'[STATUS]) = "Completed", "Green",
    MAX('Table'[STATUS]) = "Inprogress", "Yellow",
    MAX('Table'[STATUS]) = "Not Started", "Red"
)

 

 

and you are done. Output are:

1. When no selection of sector:

shafiz_p_2-1735633135399.png

 

2. When select perticula sector, which is full complete:

shafiz_p_3-1735633186829.png

 

 

Hope this helps!!

If this solved your problem, please accept it as a solution and a kudos!!

 

Best Regards,
Shahariar Hafiz

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.