Forum Discussion

khurram75's avatar
khurram75
Frequent Visitor
7 years ago
Solved

Display vital signs

Friends,

 

I am trying to create a set of reports and dashboard for the health vertical. The intent is to display patient's vital signs e.g., temperature, blood pressure, blood sugar etc. as they fluctuate throughout a day. There are mutliple values that are captured during the day and the purpose is for a health care professsional to quickly visualize and identify an anomaly. Below is my sample data set for your reference. I am pulling my hair off at the moment because other than recreating this chart itself as a grid, Power BI pretty much always forces to pick an aggregation. I do not need aggregation, I need to plot data without it. Is it even possible in Power BI?

 

DateDiastolicSystolicTimeType
1/12/20191209010:10 AMManual
1/11/20191008910:10 PMOmron 1230
1/11/20191301009:10 AMManual
1/10/2019120909:10 AMManual
1/10/2019120809:10 AMOmron 1230
1/9/2019110809:10 AMOmron 1230
1/9/20191401001:10 PMOmron 1230
1/8/20191108011:10 AMManual
1/8/2019110905:10 PMManual
1/7/20191101009:10 PMManual
1/7/2019110806:10 AMOmron 1230
1/6/2019120757:31 PMOmron 1230
1/6/2019123828:24 AMManual
1/5/2019121898:37 AMOmron 1230
1/5/2019141959:45 PMOmron 1230
1/12/201913510010:05 PMManual
  • Anonymous's avatar
    Anonymous
    7 years ago

    It definitely is. If you put Date and Time on the axis of the chart, and Diastolic and Systolic in the values it will work. The filter context will be for a specific date with a specific time, which should be only one value. So you can use any aggregator ( min, max, average, etc) and get the same result since it is just the one value. The issue is, what do you want to happen when you have a few rows with the same date and same time, such as:

     

    Doubt you want to sum those. Maybe an Average? Or does Type have a precedence?  

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    It definitely is. If you put Date and Time on the axis of the chart, and Diastolic and Systolic in the values it will work. The filter context will be for a specific date with a specific time, which should be only one value. So you can use any aggregator ( min, max, average, etc) and get the same result since it is just the one value. The issue is, what do you want to happen when you have a few rows with the same date and same time, such as:

     

    Doubt you want to sum those. Maybe an Average? Or does Type have a precedence?  

    • khurram75's avatar
      khurram75
      Frequent Visitor

      Thanks a lot my friend Anonymous for the kind help. It worked. Now my problem is to format the axis label in a way that the date and time values stay on separate lines. Any idea how that can be accomplished?

      • Anonymous's avatar
        Anonymous
        Not applicable

        Best thing I could think of is just formatting them differently., but there's probably a better way (not my strength)

  • v-cherch-msft's avatar
    v-cherch-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi khurram75 

     

    Power BI removes duplicate rows from a table by default like this post. The way around this would be to create a index column in query editor to provide the uniqueness of rows.Then use the index column in the visual you need.

     

    Regards,

    Cherie