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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.