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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sns1996
Helper I
Helper I

Filtrar valor

Estou precisando filtrar da tabela reclamação (Abaixo) montando a tabela abaixo:

 

Tem como anexar o arquivo pbix

 

MêsBravura
AgostoMês Ocorrência Agosto e Mês data banca Agosto
SetembroMês Ocorrencia Setembro e Mês data banca Agosto
OutruboMês Ocorrência Outubro e Mês data banca Agosto

 

 

Ocorrência de dadosAno OcorrenciaMês OcorrenciaData BancasAno Data BancaMês Data BancaBravura
01/08/20242024agosto01/07/20242024julho5
02/08/20242024agosto01/07/20242024julho1
03/08/20242024agosto01/07/20242024julho3
05/08/20242024agosto01/07/20242024julho1
06/08/20242024agosto01/08/20242024agosto3
06/08/20242024agosto06/08/20242024agosto2
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sns1996 , Arul, thank you for your prompt reply!

Check the following measure:

 

ComplaintValue = 
    SWITCH(
        TRUE(),
        MAX('Table'[Month Occurrence]) = "August" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "August" &&
                'Table'[Month Date Bank] = "August"),
        MAX('Table'[Month Occurrence]) = "September" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "September" &&
                'Table'[Month Date Bank] = "August"),
        MAX('Table'[Month Occurrence]) = "October" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "October" &&
                'Table'[Month Date Bank] = "August"),
        BLANK()
    )

Result for your reference:

vyajiewanmsft_1-1729839255971.png

Best regards,

Joyce

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
Arul
Super User
Super User

@sns1996 ,

Please translate in English.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


I need to filter from the complaint table (Below) by creating the table below:

Can you attach the pbix file?

 

sns1996_0-1729706091819.png

part of the table

sns1996_1-1729706246142.png

 

Anonymous
Not applicable

Hi @sns1996 , Arul, thank you for your prompt reply!

Check the following measure:

 

ComplaintValue = 
    SWITCH(
        TRUE(),
        MAX('Table'[Month Occurrence]) = "August" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "August" &&
                'Table'[Month Date Bank] = "August"),
        MAX('Table'[Month Occurrence]) = "September" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "September" &&
                'Table'[Month Date Bank] = "August"),
        MAX('Table'[Month Occurrence]) = "October" ,
            CALCULATE(SUM('Table'[Value]), 
                'Table'[Month Occurrence] = "October" &&
                'Table'[Month Date Bank] = "August"),
        BLANK()
    )

Result for your reference:

vyajiewanmsft_1-1729839255971.png

Best regards,

Joyce

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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