Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a field in my model called "Current Fee Type". I changed it to "Fee Type", and now some (not all) of my visuals can't display. Below is the error message that I see on all affected visuals:
MdxScript(Model) (402, 14) Column '<pii>Current Fee Type</pii>' in table '<pii>Dimension Project</pii>' cannot be found or may not be used in this expression.
This is really strange. This field is not used in any expression in DAX. It's simply a field that appears in the filter pane on all pages. And, not every visual is returning an error; only some of them return the error. It seems to be random. How can I resolve this? If it matters, my reports use a live connection to a dataset in the service. That dataset holds this field. This field is in a query that is written in SQL (not M). I simply re-labeled the field in SQL.
Solved! Go to Solution.
I resolved my problem. It turns out that the column is being used in a few measures. It wasn't immediately obvious as I use measure branching a lot (i.e., a measure that uses a measure that uses a measure...). The measure used in the visuals didn't contain it. But, a measure that those measures reference contains it.
I resolved my problem. It turns out that the column is being used in a few measures. It wasn't immediately obvious as I use measure branching a lot (i.e., a measure that uses a measure that uses a measure...). The measure used in the visuals didn't contain it. But, a measure that those measures reference contains it.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |