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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.