- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AttributeHierarchy Error
Hi All,
I have a dataset which was working yesterday, but I've refresehed it this morning and 5 calculated columns are now returning errors. 4 of them give the error "This expression refers to a AttributeHierarchy object named *ColumnName*, which has an error". The other calculated column returns the "multiple values where single value expected error". All 5 calculated columns refer to *ColumnName* which is the primary key/column of the same table.
There have been no changes to the dataset, the only thing that has happened is that the data has been refreshed. There are no errors or duplicates in *ColumnName* and all the data is in the right format etc, so I'm not sure why Power BI is saying it has an error.
Could anyone advise what might be causing this error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous
The errors you're encountering could be due to several reasons. Here are some troubleshooting steps you can take to identify and resolve the issues:
Check Data Source:
- Make sure that there are no issues with the data source itself. Refresh the data again to ensure that there are no connectivity issues or changes in the source data that could be causing the problem.
Review Calculated Columns:
- Review the DAX expressions for the calculated columns that are returning errors. Check for any syntax errors, incorrect references, or unsupported operations.
- Verify that the calculated columns are referencing ColumnName correctly and that there are no typos or inconsistencies in the column references.
Check Data Model:
- Check the data model to ensure that the relationships between tables are correctly defined and that there are no circular references or ambiguous relationships.
- Verify that the data type of ColumnName is consistent across all related tables and that it matches the expected data type in the calculated columns.
Refresh Metadata:
- Sometimes, refreshing the metadata of the data model can resolve issues with calculated columns. Go to the "Modeling" tab in Power BI Desktop and click on "Refresh" to update the metadata.
Clear Cache:
- Clear the cache in Power BI Desktop by going to "File" > "Options and settings" > "Options" > "Data Load" and clicking on "Clear Cache". This can sometimes resolve caching issues that may be causing errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous
The errors you're encountering could be due to several reasons. Here are some troubleshooting steps you can take to identify and resolve the issues:
Check Data Source:
- Make sure that there are no issues with the data source itself. Refresh the data again to ensure that there are no connectivity issues or changes in the source data that could be causing the problem.
Review Calculated Columns:
- Review the DAX expressions for the calculated columns that are returning errors. Check for any syntax errors, incorrect references, or unsupported operations.
- Verify that the calculated columns are referencing ColumnName correctly and that there are no typos or inconsistencies in the column references.
Check Data Model:
- Check the data model to ensure that the relationships between tables are correctly defined and that there are no circular references or ambiguous relationships.
- Verify that the data type of ColumnName is consistent across all related tables and that it matches the expected data type in the calculated columns.
Refresh Metadata:
- Sometimes, refreshing the metadata of the data model can resolve issues with calculated columns. Go to the "Modeling" tab in Power BI Desktop and click on "Refresh" to update the metadata.
Clear Cache:
- Clear the cache in Power BI Desktop by going to "File" > "Options and settings" > "Options" > "Data Load" and clicking on "Clear Cache". This can sometimes resolve caching issues that may be causing errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to know that was helpful. 🙂

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
01-14-2025 01:21 AM | |||
02-21-2025 02:21 AM | |||
12-17-2024 10:59 PM | |||
10-15-2024 08:51 AM | |||
08-30-2024 07:50 PM |
User | Count |
---|---|
89 | |
82 | |
54 | |
40 | |
35 |