Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 6 | |
| 5 |