Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 8 | |
| 8 |