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
Vilmar
Resolver I
Resolver I

Leitura da Medida

Ola,

Sei que algo simples, mas como deve ser a leitura do resultado abaixo?

1. Primeiro faço contagem distinta das cidades:

 

Contar = 
DISTINCTCOUNT ( fVendas[Cidade] )

 

 

2. Segundo coloco a tabela do vendedor, mas com a medida das cidades [Contar]:

 

Somar = 
SUMX ( VALUES ( fVendas[Vendedor] ), [Contar] )

 

 

3. Terceiro é a duvida: coloco a medida [Somar] em um visual que tem como filtro o fabricante:

Capturar.JPG

1 ACCEPTED SOLUTION

@amitchandak consegui entender por aqui a logica dos calculos. Obrigado!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Vilmar , the expected output is not clear?

you are doing distinct count till seller level. post that you are doing a sum

@amitchandak consegui entender por aqui a logica dos calculos. Obrigado!

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.