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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dwauer
Frequent Visitor

Pivot table progress bar

Hello again,

 

I tried to get a solution but I cant find the right one.

 

My problem is, I need a pivot table which can me show my progress of production:

 

dwauer_0-1710323387701.png

 

I want to get a progress bar on the topline of the "Prod-No.".

This should be calculate if the "Art-No." in group of the "Prod-No." has a Ready-State.

I hope my pic is help to understand my problem.

Maybe this is possible without power query, but I can try power query too.

Thanks for your help!

 

Best regards

 

Daniel

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dwauer ,

 

First we change the measure.

Measure = 
var _a=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr])))
var _b=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr]) && 'Table'[State]="Ready"))
var _c=IF(ISBLANK(DIVIDE(_b,_a)),0,DIVIDE(_b,_a))
var _d=IF(ISFILTERED('Table'[Prod-Nr]),_c,BLANK())
RETURN _d

Then you can open [Row Subtotals] in the [visual] pane and return to the top level of the matrix.

vtangjiemsft_0-1710488145001.png

Currently Power BI Desktop does not support the display of progress charts in subtotals on expanded matrices.

 

You can post your idea to Ideas . https://ideas.powerbi.com/ideas/

What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Neeko Tang

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

5 REPLIES 5
Anonymous
Not applicable

Hi @dwauer ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

vtangjiemsft_0-1710402341429.png

(2) We can create a measure. 

Measure = 
var _a=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr])))
var _b=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr]) && 'Table'[State]="Ready"))
RETURN IF(ISBLANK(DIVIDE(_b,_a)),0,DIVIDE(_b,_a))

(3) select the matrix visual and open the Format pane. Expand the Cell elements card and for Data bars, turn the slider to On.

vtangjiemsft_2-1710402601919.png

 

vtangjiemsft_1-1710402558389.png

 

 

Best Regards,

Neeko Tang

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

Thanks Neeko Tang,

 

I tried your solution and it works well, but one little change is maybe possible.

dwauer_1-1710418775201.png

Can you tell me is it possible to set the progress bar in the headline from "Prod-Nr"?

 

dwauer_2-1710418911121.png

 

 

This would be great. Thank you

 

Anonymous
Not applicable

Hi @dwauer ,

 

First we change the measure.

Measure = 
var _a=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr])))
var _b=COUNTROWS(FILTER(ALL('Table'),'Table'[Art-Nr]=MAX('Table'[Art-Nr]) && 'Table'[Prod-Nr]=MAX('Table'[Prod-Nr]) && 'Table'[State]="Ready"))
var _c=IF(ISBLANK(DIVIDE(_b,_a)),0,DIVIDE(_b,_a))
var _d=IF(ISFILTERED('Table'[Prod-Nr]),_c,BLANK())
RETURN _d

Then you can open [Row Subtotals] in the [visual] pane and return to the top level of the matrix.

vtangjiemsft_0-1710488145001.png

Currently Power BI Desktop does not support the display of progress charts in subtotals on expanded matrices.

 

You can post your idea to Ideas . https://ideas.powerbi.com/ideas/

What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Neeko Tang

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

PijushRoy
Super User
Super User

Hi @dwauer 

Are you using Matrix visual in Power Bi or Pivot table in excel? please confirm




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





I want use matrix visual in power bi.

The picture i made is in excel because it was faster for me to show 😉

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.