This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello - Appreciate any assistance on this! I have a custom Calendar_Table, where our FY starts in June.
The Sale_Date column from the Sales_Table has a "relationship" established with the Calendar_Table Date column.
In the Sales_Table I want to create a formula to calculate cost based on the FY FH column in my Calendar_Table however I am getting the following error with this code: The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.
CALENDAR_TABLE DAX
SALES_TABLE (tied to DATE in Calendar_Table in PBI relationships)
sale_dt |
3/31/2022 12:00:00 AM |
7/31/2023 12:00:00 AM |
3/4/2022 12:00:00 AM |
5/2/2022 12:00:00 AM |
Solved! Go to Solution.
Hi @sg919 ,
Based on the information you provided, you can try to make changes to the measure:
Cost =
SUMX(
FILTER(
'Calendar_Table',
'Calendar_Table'[FY FH] = "FY24 H1"
),
((90593*1.3)+(7549*4))*0.5
)
Final output:
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sg919 ,
Based on the information you provided, you can try to make changes to the measure:
Cost =
SUMX(
FILTER(
'Calendar_Table',
'Calendar_Table'[FY FH] = "FY24 H1"
),
((90593*1.3)+(7549*4))*0.5
)
Final output:
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |