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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.