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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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