Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
i want to create from and TO columns based on the effective date i have , From column is same as the effective date but To column is one day less than next effective date . Below is the sample data
@mgwena @cham @amitchandak @Greg_Deckler @Mariusz
base curr | exchange curr | effective date | rate | From | TO |
usd | INR | dec-31-2019 | 70.23 | dec-31-2019 | jan-30-2020 |
usd | INR | jan-31-2020 | 70 | jan-31-2020 | feb-28-2020 |
usd | INR | feb-29-2020 | 71 | feb-29-2020 | mar-15-2020 |
usd | INR | mar-16-2020 | 72 | mar-16-2020 | apr-27-2020 |
usd | INR | apr-28-2020 | 73 | apr-28-2020 | may-30-2020 |
Solved! Go to Solution.
Try new columns like
from =table[effective date]
to = minx(filter(table, table[base curr] =earlier[base curr] && table[exchange curr] =earlier[exchange curr]
&& table[effective date] >earlier[effective date]),table[effective date])-1
Try new columns like
from =table[effective date]
to = minx(filter(table, table[base curr] =earlier[base curr] && table[exchange curr] =earlier[exchange curr]
&& table[effective date] >earlier[effective date]),table[effective date])-1
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
105 | |
79 | |
68 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
84 | |
70 |