Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |