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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to get a value from column after filtering?

Hi!

 

I have a table (Versions) like:

NAME / Start / End

Version1 / 1.1.2010 / 31.7.2015

Version2 /1.8.2015 / 31.3.2016

Version3 /1.4.2016 / 1.12.2016

 

I also have a date in an another table (Requests):

Request / Created / Version

Issue1 / 1.2.2015 /

issue2 / 1.5.2016 /

 

I need to find correct version.

I have a filter like

filter('Versions'; 'Requests'[Created] >= Versions[Start] && 'Requests'[Created]<= Versions[Stop])
 
But how i can take a value from the NAME field? Values function doesnt not work. I have tried sum and summarize ... 😞
Thank you for help!
1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous  Please try this as a New Column... "SELECTCOLUMNS" will do the trick for you...

 

Version = SELECTCOLUMNS(FILTER(Test248Versions,Test248Requests[Created]>=Test248Versions[Start] && Test248Requests[Created]<=Test248Versions[End]),"Name",[Name])

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

5 REPLIES 5
PattemManohar
Community Champion
Community Champion

@Anonymous  Please try this as a New Column... "SELECTCOLUMNS" will do the trick for you...

 

Version = SELECTCOLUMNS(FILTER(Test248Versions,Test248Requests[Created]>=Test248Versions[Start] && Test248Requests[Created]<=Test248Versions[End]),"Name",[Name])

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




@PattemManohar 

You formula works like a charm, thanks!

If I have OVERLAPPING events - I am getting this error:

"A table of multiple values was supplied where a single value was expected."

If I don't care which event to show - how can I handle this?

I tried MAX() but didn't help

Thanks

Michael

 

Hi,

Share some data and show the expected result.


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

@PattemManohar 

Thank you, Sir!

This helped me a lot!

Michael

Anonymous
Not applicable

Thank You very very much!!!! 🙂

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.