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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Fcoatis
Post Patron
Post Patron

Evaluating 2 conditions

Hello everyone,

I need some help Here  where I try to explain the scenario in a Word doc as well as a sample pbix file attached. If you please help.

6 REPLIES 6
PGAndrade
Frequent Visitor

Hello @Fcoatis ,
As I can see you are from Brazil as weel, é nozes, jokes aside, I've made some changes to the "ult 2 Rodadas" measure, here's the file, check if this is the solution you're looking for:
https://1drv.ms/u/s!Aj9NbSmhynhdjU_GD2d-eSdeMYBB?e=RpIkVg

Thank you, mermão, but you´ve got it wrong. I have ultRodadas working alone. The problem is that I have to test it in measure "Apto" in an OR clause. 

 

Fig5.PNGFig 6.PNGFig 3.PNG

Ohh sorry, then this is what you wanted?
APTO.pngAPTOM.png

Obrigado @PGAndrade ,

 

Na verdade não entendo porque na guia dois o visual matriz não esta funcionando. A regra é clara! para todos os arbitros disponiveis por partida a medida "Apto" precisa trazer falso ou verdadeiro baseado nas condições:

 

1. O arbitro não pode ter parcipado das duas uíltimas rodadas. ( Rodadas 12 e 13)

2. A UF do arbitro não pode ser igual a UF dos times participantes da Rodada.

 

Mas de qualquer forma obrigado pelo seu tempo.

Um abs

Por nada @Fcoatis 
Mas seria esse visual que não está funcionando?
VISUAL.png
Caso consiga uma solução da um alô, tenha uma boa noite.
Abç.

Olá @PGAndrade ,

 

Aqui está a solução sugerida pelo Leonardo Karpinski.

 

Grande abraço

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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