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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |