Forum Discussion
New Measure returning error
- 9 years ago
You should have a relationship set up between your both tables
RTMO -- RELATEDTABLE travels from Many to one Relationship.
ROM -- RELATED travels from One to Many Relationship.
I think you should be using RELATED, not RELATEDTABLE.
For some reason, that's giving me a new error message: "The column Fueltype[Description] either doesn't exist or doesn't have a relationship to any table available in the current contenxt"
Draft = COUNTAX(FILTER(WorkOrders, RELATED(FuelTypes[Description])="Diesel"),[WorkOrdersUniqueID])
I am making an adjustment to a current graph, which already is using these 2 tables (FuelType and WorkOrders).
Thanks!
- BhaveshPatel9 years agoSuper User
You should have a relationship set up between your both tables
RTMO -- RELATEDTABLE travels from Many to one Relationship.
ROM -- RELATED travels from One to Many Relationship.
- apagan9 years agoHelper I
Thanks for the clarification, Bhavesh. I was wondering what the difference was between the two.
- v-yulgu-msft9 years agoMicrosoft Employee
Hi apagan,
Related function returns a related value from another table. While relatedtable function returns a table of values. This function is a shortcut for CALCULATETABLE function with no logical expression.
Thanks,
Yuliana Gu