Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I'm trying to create a column with a list of holidays (l_Holidays) for my main table (Source) using an existing Holiday table. But upon checking, it always returns an empty list (which should not be the case). Anyone know what I'm doing wrong here? The holiday list returned should be the holidays for that country.
= Table.AddColumn(
Source,
"l_Holidays",
each Table.Column(Table.SelectRows(Holiday, each Holiday[Country] = [Country]),
"Date")
)
Solved! Go to Solution.
Hello @olimilo
I created a small example to test.
Seemingly it works
Please check the attached Excel file
try this modification
= Table.AddColumn(
Source,
"l_Holidays",
each let mycountry=[Country] in Table.Column(Table.SelectRows(Holiday, each [Country] = mycountry),
"Date")
)
Hi @Zubair_Muhammad ,
I tried your edit and am still getting blank lists for each row. Do you know what could be the problem here?
Hello @olimilo
I created a small example to test.
Seemingly it works
Please check the attached Excel file
Thanks @Zubair_Muhammad
I was able to make it work from my side and was able to add a couple more conditions in. Not exactly sure what went wrong though.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |