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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys,
I'm walking in circles with this case, and I hope someone could help me.
I have two tables connected by One-To-Many relationship.
Table 2 has the scenario below, where I have a column with the following formula:
EndThisMonth = IF(MONTH('DDA BaseVW_CostItem'[EndDate].[Date])=MONTH(TODAY()),"Yes", "No")
So far, so good.
In order to build a visual, I need to get the EndThisMonth status into Table1 based on CostItemID.
I tried a LOOKUP but I've got the error 'A table of multiple values was supplied where a single value was expected.'
Then this formula seemed to work:
PackageEndThisMonth =
CALCULATE(FIRSTNONBLANK('DDA BaseVW_CostItem'[EndThisMonth],1), FILTER(ALL('DDA BaseVW_CostItem'),VW_PlacementMonthlyBilling[CostItemId]='DDA BaseVW_CostItem'[CostItemId]))
But when I put the data from both tables side by side, I noticed the calculation above returns a different value for the same ID.
Does anyone know how I could fix this? I've also tried the formula below, but the same issue.
Hi @Anonymous and @amitchandak
I updated the sample date. I'm still having the same issue 😕
If someone could give me a light here
https://drive.google.com/file/d/1ItKvrbbFpq3mqrbbwC0ez-J_vsLFr60A/view?usp=sharing
Thank you
@Anonymous
Now, there is no July date in the table, we cannot see the issue with your sample. Maybe update your sample table to include newest month.
Paul Zheng _ Community Support Team
@Anonymous , This one seems correct
I uploaded a sample here. You'll see the PackageEndThisMonth returns YES for activities that ended last month
https://drive.google.com/file/d/1Uv8l6RVM6Kc36v16OMW9ObLtetki2LY4/view
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!