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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nardtmo
Helper II
Helper II

need help,

 

Hi all

Trying to build this report (see below condition & results) in pbi but with no success.  Premise, is to flag if 3 out of 4 patients that are in placebo reach temp => 102 for 2 consecutive hours and then identify other patients with similar symptions. Additional flag for critical patients temp reaching =>102 for 4 consecutive hours. report is being updated hourly. i have two tables  1 table for patient info and description 2nd table for data/time, patient, and temp. 

 

hope u guys can help. thanks in advance

 

Nard 

 

 

     1st condition2nd condition3rd conditionresults
datetimepatientsdescriptiontempTrack if 3 out of 4 placebo patients reach temp of 102 for 2 consecutive hoursif 1st condition met. Flag / Alert remaining patient that reach temp of 102 for 2 consecutive hoursAny patients temp reach 102 for 4 consecutive hours Remarks
5/18/202111:00Aplacebo97    
5/18/202111:00Bplacebo107    
5/18/202111:00Cplacebo99    
5/18/202111:00Dplacebo97    
5/18/202111:00Etested97    
5/18/202111:00Ftested103    
5/18/202111:00Gtested97    
5/18/202111:00Htested97    
5/19/202112:00Aplacebo97   normal
5/19/202112:00Bplacebo107   normal
5/19/202112:00Cplacebo99   normal
5/19/202112:00Dplacebo97   normal
5/19/202112:00Etested97   normal
5/19/202112:00Ftested103   normal
5/19/202112:00Gtested97   normal
5/19/202112:00Htested97   normal
5/19/20211:00Aplacebo102   normal
5/19/20211:00Bplacebo103   normal
5/19/20211:00Cplacebo104   normal
5/19/20211:00Dplacebo97   normal
5/19/20211:00Etested97   normal
5/19/20211:00Ftested103   normal
5/19/20211:00Gtested97   normal
5/19/20211:00Htested107   normal
5/19/20212:00Aplacebo1021st condition met  Patient A reach threshold
5/19/20212:00Bplacebo1031st condition met  Patient B reach threshold
5/19/20212:00Cplacebo1041st condition met  Patient C reach threshold
5/19/20212:00Dplacebo105   normal
5/19/20212:00Etested97   normal
5/19/20212:00Ftested96   normal
5/19/20212:00Gtested103   normal
5/19/20212:00Htested103 2nd condition met Patient H reach threshold. Similar symptoms
5/19/20213:00Aplacebo1021st condition met  Patient A reach threshold
5/19/20213:00Bplacebo1031st condition met 3rd condition metPatient B reach threshold. & Critical condition
5/19/20213:00Cplacebo1041st condition met  Patient C reach threshold
5/19/20213:00Dplacebo1041st condition met  Patient D reach threshold
5/19/20213:00Etested97   normal
5/19/20213:00Ftested97   normal
5/19/20213:00Gtested103   normal
5/19/20213:00Htested104 2nd conditon met Patient H reach threshold. Similar symptoms
5/19/20214:00Aplacebo104  3rd condition metPatient A - Critical condition
5/19/20214:00Bplacebo98   normal
5/19/20214:00Cplacebo99   normal
5/19/20214:00Dplacebo97   normal
5/19/20214:00Etested97   normal
5/19/20214:00Ftested97   normal
5/19/20214:00Gtested105   normal
5/19/20214:00Htested107  3rd condition metPatient H - Critical condition
1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Hi! 

I've attached a demo file. Take a look and let me know if it works for you. 

I'm slightly confused as to why patient "G" isn't meeting the 2nd condition on the 19th / 03:00. 

Br,
Johannes


Connect on LinkedIn

View solution in original post

4 REPLIES 4
nardtmo
Helper II
Helper II

Hi Johannes,

thanks again for your help. Sorry to ask again, but is it possible to send out an alert / email based on the last data entry and met condition 1. 

Appreciate the help.

 

Menardo

tex628
Community Champion
Community Champion

I don't know whether or not it's posible to place a conditional trigger ("Check if something has happened and if it has send this mail") 

But you should be able to create a new page, filter out the most recent entry with condition 1 met, then finally create a subscription that sends out an e-mail with a snapshot of that page with the desired interval. 

Br,
J


Connect on LinkedIn

Thank you. Will try it out.

tex628
Community Champion
Community Champion

Hi! 

I've attached a demo file. Take a look and let me know if it works for you. 

I'm slightly confused as to why patient "G" isn't meeting the 2nd condition on the 19th / 03:00. 

Br,
Johannes


Connect on LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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