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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

DAX formula

Hi All,

 

I have imported the data in powerBI using API url. Because of that, I am not able to calculate using the column names.

I have attached the screenshot below:

Megha3012_0-1641311509301.png

Why do I get the URL and not the column names?

I would like to count the number of partnumber, but I cant select or type partnumber. I get an error.

What can I do so that I can get the count of partnumber?

Any help is appreciated!

 

Thank you!

Megha

 

1 ACCEPTED SOLUTION

Hi,

Since your table name is so long the columns won't appear in the UI. The format that the columns appear in DAX is 'table'[column]. Now that your table name is so long you can't see the column names. I recommend renaming your table to something more descriptive. In addition to solving your issue it will make your data model more understandable.

I hope this helps and if it does consider accepting this as a solution!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

7 REPLIES 7
VahidDM
Super User
Super User

Hi @Anonymous 

 

you can use the column names in your dax formula but your table name is too lng and there is no space for column names.

 

Change you table name to the short name then it will be fine.

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

AlexisOlson
Super User
Super User

Is that long string the name of one of your tables?

Anonymous
Not applicable

@AlexisOlson Thank you for your reponse.

 

Yes it is. 

Megha3012_0-1641315516939.png

But I cant seem to select any column for any kind of calculation.

Can I know why's that and what can be done?

 

Thank you!
Megha

Hi,

Since your table name is so long the columns won't appear in the UI. The format that the columns appear in DAX is 'table'[column]. Now that your table name is so long you can't see the column names. I recommend renaming your table to something more descriptive. In addition to solving your issue it will make your data model more understandable.

I hope this helps and if it does consider accepting this as a solution!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thank you! @ValtteriN 

@Anonymous It also appears that you have dates as columns. You probably want to unpivot those in the query editor.

Anonymous
Not applicable

I do want the dates as column names and hence did a pivot.

Thank you! @AlexisOlson 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.