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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.