Forum Discussion
Pivot table progress bar
- Anonymous2 years ago
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 _dThen you can open [Row Subtotals] in the [visual] pane and return to the top level of the matrix.
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.
Hi dwauer ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(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.
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.
- dwauer2 years agoFrequent Visitor
Thanks Neeko Tang,
I tried your solution and it works well, but one little change is maybe possible.
Can you tell me is it possible to set the progress bar in the headline from "Prod-Nr"?
This would be great. Thank you
- Anonymous2 years agoNot 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 _dThen you can open [Row Subtotals] in the [visual] pane and return to the top level of the matrix.
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.