The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:
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
Solved! Go to Solution.
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.
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.
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
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.
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
Are you using Matrix visual in Power Bi or Pivot table in excel? please confirm
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 😉