Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
stanislav_dugas
Helper III
Helper III

Meassure Returning Error that it refences to Column which it doesnt

Hi Guys,

 

I rly cant wrap my head around this but my meassure is giving me this error and i dont know why since it doesnt refference the wrong column.

 

stanislav_dugas_0-1608736442717.png

 

Projection Values:

stanislav_dugas_1-1608736485458.png

 

Type of Amount and Allocation Subset type are columns from the dataset.

 

Why do you think i am getting this error?

1 ACCEPTED SOLUTION

Hi @AllisonKennedy 

Thank you from writing I was able to fix the problem.

The Core/Sol/Trans column had switch function which used both integer and number therefore it wasnt performing as it should have. Not i corrected it and it works fine.

View solution in original post

5 REPLIES 5
AllisonKennedy
Super User
Super User

@stanislav_dugas 

Question 1: What is column Data[Core/Sol/Trans] ? Is it DAX or power Query? If DAX, please share the formula, and any errors you get from it. If Power Query, was it calculated in Power Query? How?

 

Question 2: What are all the columns used in your Projection column? Do they come from the data directly or are they referencing other columns?

 

Question 3: When you did a Close & Apply on your data, did it return any errors in the query? If so, I want to see what those are. You can force this popup again by renaming one of the columns in your Data query in Power Query Editor, then click Close & Apply, and if it warns about errors please click "View Errors" and let us know what you see.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Hi @AllisonKennedy 

Thank you from writing I was able to fix the problem.

The Core/Sol/Trans column had switch function which used both integer and number therefore it wasnt performing as it should have. Not i corrected it and it works fine.

@stanislav_dugas  Glad you sorted it out and that my questions were able to guide you in the right direction. Kudos are much appreciated. 🙂 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

amitchandak
Super User
Super User

@stanislav_dugas , Can you share  a sample pbix after removing sensitive data.

Unfortunately all the data are sensitive. Anything else i could share to give a bit more insights?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.