Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Ok. This may just be a rookie mistake... I have 2 tables where I am attempting to get a filtered count. Here is what I am using:
Draft = COUNTAX(FILTER(WorkOrders, RELATEDTABLE(FuelTypes[Description])="Diesel"),[WorkOrdersUniqueID])
I am getting an error that indicates that 'Description' in table 'FuelTypes' cannot be determined.
If someone could point me in the right directly, I would truely appreciate it.
Thanks!
Solved! Go to Solution.
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.
Proud to be a Super User!
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!
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.
Thanks for the clarification, Bhavesh. I was wondering what the difference was between the two.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |