March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Estou precisando filtrar da tabela reclamação (Abaixo) montando a tabela abaixo:
Tem como anexar o arquivo pbix
Mês | Bravura |
Agosto | Mês Ocorrência Agosto e Mês data banca Agosto |
Setembro | Mês Ocorrencia Setembro e Mês data banca Agosto |
Outrubo | Mês Ocorrência Outubro e Mês data banca Agosto |
Ocorrência de dados | Ano Ocorrencia | Mês Ocorrencia | Data Bancas | Ano Data Banca | Mês Data Banca | Bravura |
01/08/2024 | 2024 | agosto | 01/07/2024 | 2024 | julho | 5 |
02/08/2024 | 2024 | agosto | 01/07/2024 | 2024 | julho | 1 |
03/08/2024 | 2024 | agosto | 01/07/2024 | 2024 | julho | 3 |
05/08/2024 | 2024 | agosto | 01/07/2024 | 2024 | julho | 1 |
06/08/2024 | 2024 | agosto | 01/08/2024 | 2024 | agosto | 3 |
06/08/2024 | 2024 | agosto | 06/08/2024 | 2024 | agosto | 2 |
Solved! Go to Solution.
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:
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I need to filter from the complaint table (Below) by creating the table below:
Can you attach the pbix file?
part of the table
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:
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |