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
SumSang
Regular Visitor

ElasticSearch with HL7

I'm trying to use PowerBI with connection to an ElasticSearch database (with Hl7 messages).
I can already see the data, but some of those are only (as far as I can see)  in the Raw_message and Message column.

 


I can split this column into several by indicating the carriage return as a separator and indicating the number of columns to create.

after this i got lines with :

 

MSH|^~`&|XXX REPORTING|ROLIN|ROY|ROLIN|20170318050440||ORI^P01|20170318050440|X|7.1
PID|||999999999||TEST^ME||18450101|M
OBX||ST|12000.4^PR INTERVAL(MSEC)^CPT8|2|218|MSEC
OBX||ST|33000.5^QRS - INTERVAL(MSEC)^CPT9|3|78|MSEC

 

how can i disregard some lines ( for instance lines begin with 'MSH') ?

i can i work with this information ?

do you have any experience whit this ?

 

best regards

Sumsang

 

1 REPLY 1
Eric_Zhang
Employee
Employee

@SumSang

You could try to add a custom column and filter on that column.

 

Text.Start([raw_message],Text.PositionOf([raw_message],"|"))

 

Capture.PNG

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.

Top Solution Authors
Top Kudoed Authors