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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mellas_k
Helper I
Helper I

How to calculate percentage using the result a of new Measure ?

I have the below table and I need to calculate percentage:

 

 

 Capture.GIF

 

 

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?

1 ACCEPTED SOLUTION

@mellas_k

 

Hi, try this:

 

MeasuretoUse =
DIVIDE([Nombre_Consultant],CALCULATE('02 Juin'[Nombre_Consultant], ALL('02 Juin'[STATUT ])))




Lima - Peru

View solution in original post

11 REPLIES 11
ContabilidadBI
Helper III
Helper III

Hi @mellas_k,

 

Have you tried to calculate "Mesure" as a calculated column?

HI @ContabilidadBI

yes , but it not work ...

Can you put the original Table? that looks like a visualization

My original table : 

 

Capture2.GIF

 

And I need to find the result of the percentage shown in my first post .

Mesure = Nombre_consultat 

Thanxs for your help 

Hi,@ContabilidadBI  

 

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.

2.PNG

If you don't mind, you can share your .pbix file in Onedrive and post the link.

Best Regards,
Angelia

hi @v-huizhn-msft

you can find my .pbix file on the below link :

https://1drv.ms/f/s!ArRlhOnGvzHibgygLcRz_xXmAas

 

Thanks for your help.

 

@mellas_k

 

Hi, try this:

 

MeasuretoUse =
DIVIDE([Nombre_Consultant],CALCULATE('02 Juin'[Nombre_Consultant], ALL('02 Juin'[STATUT ])))




Lima - Peru

Hi @Vvelarde

Thanks, it's work 🙂 

thanks for your help:)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.