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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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