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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
SHicks216
Frequent Visitor

Pull text data from one column, based on multiple criteria

Using the "Main Table" as the source, I am trying to create a measure that will generate what is shown in the "Table w/ Measure".

 

What I need is a measure that determines the latest audit date for an individual, where "Violations" equals "1", so that the corresponding "Interaction details" would be genrated for the individual (see column "Details of Last Interaction w/ Vilolation" in "Table w/ measure)

 

SHicks216_0-1663277555806.png

 

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks for a quick response Ashish, you provided some good insight in general; however, using your file I made a few updates to better illustrate my probem.  

 

  1. I didn't mention that I need the information to display in a matrix similar to what is shown below.
  2. With the new example, the result I would want under the "Last interaction details" column is "aaa", becuase this is the information associated with the last time a violation was identified (As you can see with the current measure the column is pulling "bbb" which is associated with the latest audit date in general).

 

Let me know if this explanation is clear and if this can be done. Thanks again!

 

SHicks216_2-1663340908567.png

SHicks216_0-1663340854574.png

 

 

 

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

That works, thanks for the help!😁

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.