Forum Discussion
NicoH
4 years agoRegular Visitor
Need help on DAX function
Hi everyone I'm confused by the DAX function. I want to compare the budget and contract amount based on a table with the budget and contract info with the columns like BudgetID, Year, Budget Amount,...
NicoH
4 years agoRegular Visitor
Sorry, here is the table structure.
Budget(budget id, year, department, budget amount)
Contract(budget id, year, contract id, contract amount)
v-janeyg-msft
4 years agoCommunity Support
- NicoH4 years agoRegular Visitor
Yes, I tried and it can calculate the budget amount correctly, but the contract amount did not.
Now I'm using the composite key for 2 tables: budgetid_year in budget table, budgetid_year_contractid in contract table.
- vojtechsima4 years agoSuper User
Hi, NicoH
did you check my newest post on this article?