Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi all
I have two tables, 'LGZ Schools' (1) <---> (*) 'CountYourCarbon'.
They're joined as follows: 'LGZ Schools'[_School ID] <---> 'CountYourCarbon'[sfct_letsgozero]
'CountYourCarbon' has three fields: [sfct_letsgozero], [CYC Date] and [CYC Score (Tonnes)].
I'm trying to read a value from CountYourCarbon into a new column called "Baseline" in LGZ Schools. I want to filter CountYourCarbon for where there's a match on [_School ID]<--->[sfct_letsgozero], which will return between 0 and 2 rows, then filter that for the earliest date in the [CYC Date] field, and then return the value in the field [CYC Score (Tonnes)].
The best I've got so far is:
Solved! Go to Solution.
Hi @hiolgh please try this calculated column
Hi @hiolgh ,
Thank you @techies for the prompt response!
Upon reviewing the information provided,I tried to create it locally.
Try using the below calculated column:
If the solution meets your requirement,consider accepting it as solution.
Thank you for being a part of Microsoft Fabic Community Forum!
Regards,
Pallavi.
Hi @hiolgh ,
Thank you @techies for the prompt response!
Upon reviewing the information provided,I tried to create it locally.
Try using the below calculated column:
If the solution meets your requirement,consider accepting it as solution.
Thank you for being a part of Microsoft Fabic Community Forum!
Regards,
Pallavi.
Thanks for taking the time to recreate the tables!
Hi @hiolgh please try this calculated column
This is great thanks, and I'll learn from your approach. I had tried using variables but then I couldn't manipulate RelatedRows with further filters. I now see that using it to filter the original table is the way to go.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 11 | |
| 6 | |
| 6 |