Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have one query named Location with LocationId(unique), Location_desc
Another query Service Equipment with EquipmentID and locationID(multiple values).
I want to create a custom column in Service Equipment using the following condition
If #Service Equipment"[locationID]= #"Location"[LocationID] then"Location"[Location_desc] else "Null"
Afther that I have appended multiple queries (euipment, Repar) with same column names and data types to get a single query.Which is why I have to create this column in the power query.
I am getting the following error Expression.Error: A cyclic reference was encountered during evaluation.
Solved! Go to Solution.
#Service Equipment" is the name of the query, so you're referencing the end result of the query from within the custom column, which is circular.
Forget the custom column and do a merge with Location and expand [Location_desc].
More resources on merging:
https://www.excelcampus.com/powerquery/power-query-merge-vlookup/
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
https://blog.enterprisedna.co/how-to-merge-queries-in-power-bi/
#Service Equipment" is the name of the query, so you're referencing the end result of the query from within the custom column, which is circular.
Forget the custom column and do a merge with Location and expand [Location_desc].
More resources on merging:
https://www.excelcampus.com/powerquery/power-query-merge-vlookup/
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
https://blog.enterprisedna.co/how-to-merge-queries-in-power-bi/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
31 | |
31 | |
20 | |
15 | |
12 |
User | Count |
---|---|
21 | |
20 | |
16 | |
10 | |
9 |