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
Gareth_Hunt
Helper II
Helper II

Find current value based on date from data

Hi guys anyone help me with this one - im wanting to for any given date, pull the value against the ID 

Gareth_Hunt_0-1624632691778.png

 

14/06/2021UK-Education-Schools5
24/06/2021UK-Education-Schools3
24/06/2021UK-Education-Universities5
24/06/2021UK-Healthcare-Care Homes1

 

so fr example if date slider was set to 15/06/2021 then for "UK-education-schools" i want to see the value "5", but if the date selection was 25/06/2021 then return the value "3" using a new table

 

 

2 REPLIES 2
Gareth_Hunt
Helper II
Helper II

Hi Parry 2K

thank you for the link, I will do my best to present the questions more approperately in future.

in excell i used the formula =VLOOKUP(CONCAT($I1,MAXIFS($B:$B,$A:$A,$I1)),$C:$D,2,FALSE)

but i dont know how that translates to PBI 

 

 

 ABCDEFGHI
1A01/06/20211    A100
2A02/06/20215    B33
3A03/06/20213    C8
4A04/06/20214    new table 
5A05/06/20215      
6A05/06/20215      
7A07/06/20217      
8B01/06/20214      
9B02/06/20212      
10C03/06/20211      
11C04/06/20214      
12C05/06/20215      
13A19/12/202115      
14A25/12/202120      
15B15/07/20216      
16C02/01/202117      
17C09/09/20218      
18A31/12/2021100      
19B31/12/202233      
20B01/01/19905      
 data set        

 

 

 

parry2k
Super User
Super User

@Gareth_Hunt what is the logic to calculate the value? How you are getting those numbers? Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors