The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
21 | |
18 | |
17 | |
13 |
User | Count |
---|---|
41 | |
38 | |
24 | |
20 | |
20 |