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.
Olá pessoal,
Preciso melhorar o código do cálculo faturamento acumulado por cliente e % acumulado do faturamento por clinete, pois o que fiz está com a performance ruim, está demorando muito para mostrar o resultado e quando realizo a publicação do Dashboard ele excede o limite de processamento.
Alguém poderia me ajudar a melhorar?
Solved! Go to Solution.
Please try this measure expression instead.
Customer accrued billing =
VAR vFatContext = [Total sales]
VAR vSummary =
ADDCOLUMNS (
ALLSELECTED ( TB_CLIENTES[CUSTOMER CODE] ),
"cSales", [Total sales]
)
VAR vResult =
SUMX ( FILTER ( vSummary, [cSales] >= vFatContext ), [cSales] )
RETURN
vResult
Pat
Please try this measure expression instead.
Customer accrued billing =
VAR vFatContext = [Total sales]
VAR vSummary =
ADDCOLUMNS (
ALLSELECTED ( TB_CLIENTES[CUSTOMER CODE] ),
"cSales", [Total sales]
)
VAR vResult =
SUMX ( FILTER ( vSummary, [cSales] >= vFatContext ), [cSales] )
RETURN
vResult
Pat
Boa tarde, estou com o mesmo problema, e mesmo fazendo essa tabela virtual o processamento não é suportado. Minhas base é com 10 mil clientes... teria outra sugestão?
Hi, @Daniela_Romasko
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |