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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
gus2701
Frequent Visitor

Formulas - Somar, subtrair e comparar valores

Necessito de uma função que compara os valores da seguinte forma:

 

Tabela xpot - Banco SQL
soma ofensores por demanda; coluna - ofensorqtddiasl;
soma por fase excluindo saldo / valor duplicado em cada fase; colunas - faseqtddias e etapa;
compara o saldo dos ofensores x fase (nenhum final os valores teriam que ser Zero);
Consigo fazer isso com DAX no Power BI ?

 

Obrigado,

 

Gustavo Santos

Ofensores.png

1 ACCEPTED SOLUTION
gus2701
Frequent Visitor

Friends, Thanks for the help, but let's start by extracting the data. There are many errors that need correction. Goodbye .

View solution in original post

4 REPLIES 4
gus2701
Frequent Visitor

Friends, Thanks for the help, but let's start by extracting the data. There are many errors that need correction. Goodbye .

v-qiuyu-msft
Community Support
Community Support

Hi @gus2701,

 

It seems that you want to achieve some requirement via DAX, right? 

 

Would you please clarify the requirement in English, so we can understand it better? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I need your help, to sum up values by removing the duplicate values.
There are two columns with values:
1-Time of each phases within the project. 2-Time worked on the project.
Values are duplicated within phases (per record line) because there are two or more people who have worked and consumed hours within the project.
The sum of the added values of each project and sum of time worked, compared must be equal. Subtracting from each other would be zero.

Hi @gus2701,

 

Please share some sample data and show us the expected results so we can test it. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.