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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
BI02CONTROL
New Member

Data Aproximada (Date Nearby)

Hello people,

 

I have the follow situation:

Table1:

BANK A - 02/01/2019 - 150,00

BANK B - 02/01/2019 - 10.000,00

BANK A - 04/01/2019 - 300,00

BANK C - 05/01/2019 - 500,00

BANK A - 09/01/2019 - 400,00

 

Table2:

BANK A - 02/01/2019

BANK A - 03/01/2019

BANK A - 04/01/2019

BANK A - 05/01/2019

BANK A - 06/01/2019

BANK A - 07/01/2019

BANK A - 08/01/2019

BANK A - 09/01/2019

BANK B - 02/01/2019

BANK B - 03/01/2019

BANK B - 04/01/2019

BANK B - 05/01/2019

BANK B - 06/01/2019

BANK B - 07/01/2019

BANK B - 08/01/2019

BANK B - 09/01/2019

BANK C - 02/01/2019

BANK C - 03/01/2019

BANK C - 04/01/2019

BANK C - 05/01/2019

BANK C - 06/01/2019

BANK C - 07/01/2019

BANK B - 08/01/2019

BANK C - 09/01/2019

 

And i need the follow Result in table 2:

 

BANK A - 02/01/2019 - 150,00

BANK A - 03/01/2019 - 150,00

BANK A - 04/01/2019 - 300,00

BANK A - 05/01/2019 - 300,00

BANK A - 06/01/2019 - 300,00

BANK A - 07/01/2019 - 300,00

BANK A - 08/01/2019 - 300,00

BANK A - 09/01/2019 - 400,00

BANK B - 02/01/2019 - 10.000,00

BANK B - 03/01/2019 - 10.000,00

BANK B - 04/01/2019 - 10.000,00

BANK B - 05/01/2019 - 10.000,00

BANK B - 06/01/2019 - 10.000,00

BANK B - 07/01/2019 - 10.000,00

BANK B - 08/01/2019 - 10.000,00

BANK B - 09/01/2019 - 10.000,00

BANK C - 02/01/2019 - 0,00

BANK C - 03/01/2019 - 0,00

BANK C - 04/01/2019 - 0,00

BANK C - 05/01/2019 - 500,00

BANK C - 06/01/2019 - 500,00

BANK C - 07/01/2019 - 500,00

BANK B - 08/01/2019 - 500,00

BANK C - 09/01/2019 - 500,00

 

The result i need is similar a Excel vlookup with relative reference - vlookup(value,range,index, -1)

 

I will be gratefull for any help.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

I created two columns in table 2

Refer : https://www.dropbox.com/s/w3zitr1waygzqbf/approxAmount.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

I created two columns in table 2

Refer : https://www.dropbox.com/s/w3zitr1waygzqbf/approxAmount.pbix?dl=0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Perfect.

 

Simple and straghtforward solution.

 

Thanks a lot.

 

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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