Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
My data looks like below:
This is one table. I have another table with relationship between index and index (one to many). I want to
Index | Value |
A | 300 |
B | 140 |
C | 50 |
How to get this Value column? It have to be calculated as calculated column due to filtering this data.
Solved! Go to Solution.
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Value =
MAXX(FILTER(ALL(Table1),
'Table1'[Index]='Table2'[Index]&&
'Table1'[Date]=MAXX(FILTER(ALL(Table1),'Table1'[Index]=EARLIER('Table1'[Index])),[Date])
),[Value])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Value =
MAXX(FILTER(ALL(Table1),
'Table1'[Index]='Table2'[Index]&&
'Table1'[Date]=MAXX(FILTER(ALL(Table1),'Table1'[Index]=EARLIER('Table1'[Index])),[Date])
),[Value])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Try to make a New Column using the following measure:
Column = CALCULATE(MAX('Table1'[Value]),FILTER('Table1','Table1'[Index]='Table2'[Column1]))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |