Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Bom dia a comunidade...
Preciso de ajuda quanto ao relatório que estraí utilizando o comando DateDiff.
O que devo fazer para somar os total dos dias por área ?
Não entendo o resultado negativo em -83 dias.
Formula utilizada.
Solved! Go to Solution.
Hi @Anonymous
When a Measure is used on rows in a table, the column total for those rows is not calculated as a sum of the results in the rows, but instead it calculates using the same Measure formula and applies it to the total of the data selected. Due to this feature, the total value may be unexpected. In such case, you may do further calculation and correct the total value. Please try the Measure below and use it to create your visual instead of using DIAS PARADOS.
Correct_total = SUMX (
SUMMARIZE(SUSE,SUSE[Data/Hora Conclusão da atividade]),
SUSE[DIAS PARADOS]
)
Then, the result will look like this:
Best Regards,
Community Support Team _ Caiyun
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
When a Measure is used on rows in a table, the column total for those rows is not calculated as a sum of the results in the rows, but instead it calculates using the same Measure formula and applies it to the total of the data selected. Due to this feature, the total value may be unexpected. In such case, you may do further calculation and correct the total value. Please try the Measure below and use it to create your visual instead of using DIAS PARADOS.
Correct_total = SUMX (
SUMMARIZE(SUSE,SUSE[Data/Hora Conclusão da atividade]),
SUSE[DIAS PARADOS]
)
Then, the result will look like this:
Best Regards,
Community Support Team _ Caiyun
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
What is your expected result? Think like the Grand Total. Very often measures designed for the Grand Total will also work for the Row and Column Totals and for the individual cells.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |