vertipaq
2 TopicsErro em Calculate com múltiplas referências de filtros
Há alguma alteração documentada ou uma atualização no mecanismo de otimização do Power BI, a partir de março/26, que possa ter tornado mais rigorosa a validação de filtros com múltiplas referências à mesma tabela dentro de uma função CALCULATE? Tinha medidas antigas que estavam funcionando normalmente, apesar da semântica confusa, e passaram a retornar valores incorretos. Tive que reescrevê-las de uma forma mais explicita e semântica para voltarem a funcionar. Por exemplo: Haskell Medida Antiga = VAR QTDE = CALCULATE( Count(Tabela1[Coluna1]), Filter(Tabela2, [Coluna1] = 1), Tabela1, // ← TABELA INTEIRA COMO FILTRO Tabela1[Coluna2]="Sim", Filter(Tabela2, [Coluna2] = "1"), NOT(ISBLANK(Tabela1[Coluna3])) ) COALESCE(QTDE, 0) Refeita para: SQL Medida Nova = VAR QTDE = CALCULATE( COUNT(Tabela1[Coluna1]), Tabela1[Coluna2] = "Sim", NOT(ISBLANK(Tabela1[Coluna3])), Tabela2[Coluna1] = "1", Tabela2[Coluna2] = "1" ) RETURN COALESCE(QTDE, 0) Gostaria de entender o que mudou neste período para avaliar se precisarei revisar todas as medidas antigas em uso nos vários painéis que possuímos. Obrigado!Solved161Views0likes5CommentsHow do I analyze my DAX for "this visual has exceeded the available resources"?
Hi There I'm having some issues with some DAX measures which are causing the "Visual has exceeded available resources" panel, like this. In my case the memory on Power BI Service is exceeded. Is there a way to analyze the size of the memory used for the dax calculation? The performance analyzer only shows the time to calculation, while DAX studio's Vertipaq Analyzer seems to analyze the end result memory of each step. Is there a way to see the total memory required for a calculation?Solved1.5KViews0likes3Comments