Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
BINanovetores
Frequent Visitor

Calculadora

Eu gostaria que o resultado de uma métrica fosse a partir de um valor digitado.

 

Exemplo:

Se eu quisesse calcular o quanto em média tenho que faturar para atingir a meta ano.

 

Para descobrir isso eu gostaria de ter um visual que me permitisse inserir valores e, com base nesses valores digitados, fossem calculadas as metas mensais. Com isso, eu poderia testar valores e verificar os resultados sem ter a necessidade de criar uma métrica toda vez que fosse testar um valor.

 

Alguém conhece algum visual que permita essa integração para me indicar?

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Oi @BINanovetores

Por sua exigência:

Para descobrir isso, eu gostaria de ter um visual que me permitisse inserir valores e, com base nesses valores inseridos, calcular as metas mensais. Com isso, eu poderia testar valores e verificar os resultados sem ter que criar uma métrica toda vez que eu testasse um valor.

 

Antes de começar com o Power BI, você precisa obter dados de outras fontes ou Inserir dados no power bi.

Assim, é impossível inserir valores no relatório e fazer alterações visuais com esse valor sem extrair um conjunto de dados em power bi.

Quanto a medidas ou visuais mudam com os valores, você poderia considerar o caso como abaixo.

 

Primeiro eu gostaria que você soubesse que a medida poderia mudar com o slicer.

Por exemplo, uma medida abaixo pode alterar o valor com a seleção no fatiador.

Medida = CALCULAR (SOMA (Folha5 [valor]), FILTRO (Folha5, [ano] = SELECTEDVALUE (Folha5 [ano])))
Measure = CALCULATE (SUM (Sheet5 [valor]), ALLSELECTED (Folha5 [ano]))


 

Se você precisar inserir ou alterar os valores, poderá

Crie e use um parâmetro What if para visualizar variáveis ​​no Power BI Desktop

 

 

Cumprimentos

Maggie

v-juanli-msft
Community Support
Community Support

Hi @BINanovetores

Per your requirement:

To find out this I would like to have a visual that would allow me to enter values and, based on these values entered, calculate the monthly goals. With this, I could test values and check the results without having to create a metric every time I would test a value.

 

Before starting with Power BI, you need to Get Data from other sources or Enter data in power bi.

Thus, it is impossible to enter values on the report and make visuals change with this value without pull a dataset in power bi.

Regarding measures or visuals change with the values, you could consider the case as below.

 

First i would let you know measure could change with slicer.

For example, a measure below can change the value with the selection in the slicer.

Measure = CALCULATE(SUM(Sheet5[value]),FILTER(Sheet5,[year]=SELECTEDVALUE(Sheet5[year])))
Measure = CALCULATE(SUM(Sheet5[value]),ALLSELECTED(Sheet5[year]))

5.png6.png

 

If you need to enter or change the values, you could 

Create and use a What if parameter to visualize variables in Power BI Desktop

7.png

 

Best Regards

maggie

 

 

Olá.

Não há de fato como inserir nativamente valores no Power BI. Uma forma que utilizo é com o power apps inserindo valor em um banco de dados ou até excel.

 

Vou te mandar um vídeo do meu canal mostrando como fazer isso.

https://www.youtube.com/watch?v=VW0THhsIgGo

Entendi e agradeço pelo vídeo, porém, desta forma não satisfaz o meu objetivo.

 

De qualquer forma, obrigado pela ajuda.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.