Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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
Boa tarde!
Como faço para calcular a porcentagem entre o valor total de cada prioridade (1;2;3;4) dividido pelo total de cada periodo (jun/21...julh/21...Ago/21...etc???
Tabela:
Solved! Go to Solution.
// Let's say your base measure is [M],
// and the table is T.
[M Percentage of Period] =
var TotalAcrossAllVisiblePeriods =
CALCULATE(
[M],
ALLSELECTED( T[Period] )
)
var Result =
DIVIDE(
[M],
TotalAcrossAllVisiblePeriods
)
return
Result
// Let's say your base measure is [M],
// and the table is T.
[M Percentage of Period] =
var TotalAcrossAllVisiblePeriods =
CALCULATE(
[M],
ALLSELECTED( T[Period] )
)
var Result =
DIVIDE(
[M],
TotalAcrossAllVisiblePeriods
)
return
Result
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.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 6 | |
| 5 |