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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
JVIEIRA
Regular Visitor

Ajuda criar tabelas Baseada em outra

Boa tarde!

Gostaria de ajuda para resolver a seguinte questão.

Tenho uma Tabela de Dados no Power Bi Desktop com o nome de Estoque. Onde tem as colunas Cod., Descr, Qtd. e Situação, segue abaixo.

Gostaria de criar outra tabela baseada nesta tabela de origem onde nesta nova tabela me retorne apenas os materiais que estão na situação "Com Saldo" e "Sem Saldo", não aperecesse os itens que estão como vazio nesta tabela nova somente os "Com Saldo" e "Sem Saldo".

 

JVIEIRA_0-1615403626204.png

Obrigado

1 ACCEPTED SOLUTION

Hi @JVIEIRA

 

Try the measure as:

Measure = 
IF(
    MAX('Table'[Situation])="Com Saldo" || MAX('Table'[Situation])="Sem Saldo",
    1,
    0
)

Here is the output:

 

v-xulin-mstf_0-1616119138519.png

Please refer to the attached demo, please let me know for how it does not meet the requirements.

 

Best Regards,

Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
JVIEIRA
Regular Visitor

Ola, 

Na tabela de origen tem tres valores, com saldo, sem saldo e vazio.

Eu gostaria de criar outra talela que retorne apenas os valores com saldo e sem saldo, sem mecher na tabela de origem.

Hi @JVIEIRA

 

Try the measure as:

Measure = 
IF(
    MAX('Table'[Situation])="Com Saldo" || MAX('Table'[Situation])="Sem Saldo",
    1,
    0
)

Here is the output:

 

v-xulin-mstf_0-1616119138519.png

Please refer to the attached demo, please let me know for how it does not meet the requirements.

 

Best Regards,

Link

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

v-xulin-mstf
Community Support
Community Support

Hi @JVIEIRA,

 

Could you provide your expected output?

Do you need to change the table structure or use dax on top of the source table to achieve your needs?

 

Best Regards,

Link

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.