Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 43 | |
| 40 | |
| 37 | |
| 21 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 116 | |
| 77 | |
| 54 |