The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have the below table and I need to calculate percentage:
To calculate the 8% ;13%;38%;41% you need to calculate (3/39)*100; (5/39)*100 ……
To calculate 30% and 70% you need to calculate (39/129)*100 ; (90/129)*100
For information Mesure is new measure ( Mesure =count (Table[colonne])) so I cannot calculate the Total of a new measure …
Someone please can help me to calculate the percentage that I need?
Solved! Go to Solution.
Hi, try this:
MeasuretoUse =
DIVIDE([Nombre_Consultant],CALCULATE('02 Juin'[Nombre_Consultant], ALL('02 Juin'[STATUT ])))
Can you put the original Table? that looks like a visualization
My original table :
And I need to find the result of the percentage shown in my first post .
Mesure = Nombre_consultat
Thanxs for your help
sorry for disturbance you , but i need to know if there are any proposition.
Thanks 🙂
Hi @mellas_k,
The screenshot is not the resource table, it's still a table visual. You'd better share your resource table by clicking table button(highlighted in red line), post it in a table rather than screenshot. So that we can reproduce your scenario.
Please create a visual using the following formula.
Percentage=SUM(Table[Nombre_Consultant])/CALCULATE(SUM(Table[Nombre_Consultant]),ALLEXCEPT(Table,Table[BU]))
Thanks,
Angelia
hi @v-huizhn-msft ,
Thank’s for your answer , I’m sorry but don’t found how to share my resource table can you please help me ..
And I cannot calculate SUM(Table[Nombre_Consultant]) because [Nombre_Consultant] it 's a new measure that i created .
Thanxs .
Hi @mellas_k,
You click the table button highlighted in red line, select the table in right field area.
If you don't mind, you can share your .pbix file in Onedrive and post the link.
Best Regards,
Angelia
you can find my .pbix file on the below link :
https://1drv.ms/f/s!ArRlhOnGvzHibgygLcRz_xXmAas
Thanks for your help.
Hi, try this:
MeasuretoUse =
DIVIDE([Nombre_Consultant],CALCULATE('02 Juin'[Nombre_Consultant], ALL('02 Juin'[STATUT ])))