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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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