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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
frippex
New Member

How to create a dynamic progressbar

Hi guys,

I have been trying to see if its possible to create dynamic progressbar in Powerbi.

 

I have created 2 rectangular shapes.
- 1st box is to form the background of the progressbar width 500px
- 2nd box is to show the actual progress and I have manually set the width of the bar to visualise the progress. (Percentage / width 500px) I have also added some text in this bar to display the percentage.

 

frippex_0-1702909122968.png

 

How can I get the 2nd box to read from the dataset and update the width and also update the text?

 

Lets say I have a dataset read from an excelfile called Tasks with a column of Status there status can be Completed which should build this progressbar...

 

I tried using something like this to start from but not sure if that is correct...

 

TaskProgress = COUNTROWS(FILTER(Tasks,[Status] = "Completed"))

 

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @frippex ,

The length and width of the rectangle can only be changed manually and is not affected by DAX. The functionality you expect is not available at this time.
I suggest you try the Gauge:

vjunyantmsft_0-1702957627197.png

Or you can find whether there are some custom visuals which can meet you requirement:

vjunyantmsft_1-1702957730137.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @frippex ,

The length and width of the rectangle can only be changed manually and is not affected by DAX. The functionality you expect is not available at this time.
I suggest you try the Gauge:

vjunyantmsft_0-1702957627197.png

Or you can find whether there are some custom visuals which can meet you requirement:

vjunyantmsft_1-1702957730137.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.