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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.