Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Team,
I have 2 tables:
Door table as below:
Store Status table as below:
They are modelled as below(let me know if we can better model it-suggestions are welcomed):
Now, I need to create a logic(Breach) to find when Door Table - Status column being Open when Store Status table - Status column being Closed (indicated by - 'C').
During this logic, we have to make sure it satisfies below conditions:
Output should return 1 if the conditions meets else 0.
Could you please help me create a logic for this?
PFA file here B&M.pbix
Thanks in advance!
@marcorusso @tharunkumarRTK @Ahmedx @Greg_Deckler @dufoq3
Solved! Go to Solution.
Wouldn't this data model make more sense?
Hi,
I have closed this query as there was no further progress.
thanks
Hi @lbendlin Sir,
Thanks for your quick response!
Is it possible to achieve the logic(Breach) which i described above using this model?
Many thanks in advance!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.