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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
marcotsousa
New Member

Calculo

Boa tarde!

 

Tenho uma planilha que consta atestados médicos de empregados organizados por Letra de CID (sigla) e dias de afastamento. Preciso de calcular qtos dias de afastamento pra cada letra de CID, por exemplo

 

NOME                 CID              DIAS AFASTAMENTO

Jose Castro          A                         03

Chico Fulano       B                          01

Joana Sa              A                          05

 

Total

CID        DIAS AFASTAMENTO

A                       08

B                        01  

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

English translation :

 

 

Good afternoon!

I have a spreadsheet that contains medical certificates of employees organized by Letter of CID (acronym) and days of absence.
I need to calculate how many days off for each letter of CID, for example

NAME CID DAYS AWAY
Jose Castro A 03
Chico Fulano B 01
Joana Sa A 05  

Total

CID DIAS REMOVAL
A 08
B 01

 

Hi @marcotsousa  ,

 

REMOVAL = calculate(sum("DAYS AWAY"), allexpect('table', table'Name')

 

Regards,

Gaurav Raj Singh

LinkedIN    https://www.linkedin.com/in/gauravrajsingh/

View solution in original post

Anonymous
Not applicable

Simple measure sum(table[column]) will work.

Drag name column and this measure in visual.


Thanks
Pravin

If it resolves your problem mark it as a solution and give Kudos.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

English translation :

 

 

Good afternoon!

I have a spreadsheet that contains medical certificates of employees organized by Letter of CID (acronym) and days of absence.
I need to calculate how many days off for each letter of CID, for example

NAME CID DAYS AWAY
Jose Castro A 03
Chico Fulano B 01
Joana Sa A 05  

Total

CID DIAS REMOVAL
A 08
B 01

 

Hi @marcotsousa  ,

 

REMOVAL = calculate(sum("DAYS AWAY"), allexpect('table', table'Name')

 

Regards,

Gaurav Raj Singh

LinkedIN    https://www.linkedin.com/in/gauravrajsingh/

Anonymous
Not applicable

Simple measure sum(table[column]) will work.

Drag name column and this measure in visual.


Thanks
Pravin

If it resolves your problem mark it as a solution and give Kudos.

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.