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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Create column throught measure

Hi all, 

 

It's possible create one column throught one measure?

 

Thank you.

 

VC

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Not sure if this workaround could help you.

 

You can add this hour column and the sort by column into a visual table in report page and then sort the column.

2018-10-16_17-56-52.png

 

 

 

View solution in original post

5 REPLIES 5
Greg_Deckler
Super User
Super User

You can use ADDCOLUMNS to add columns to a table but that's really internal to a measure or in a DAX table creation formula. If you are trying to use a Measure to add a column to an existing table, that's not really how it works.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler,

 

Thank you for your response.

 

My objetive it was create one column throuht one measure beacause like my data are by live connection, i can't create costum columns. 

 

For exemple, I have a hour column and i want sort this column by other column (a column that corresponce a hour 00:00 a 1, hour 01:00 a 2 and sucessively).

 

You know any form the help me?

 

Thank you.

 

VC

Anonymous
Not applicable

Not sure if this workaround could help you.

 

You can add this hour column and the sort by column into a visual table in report page and then sort the column.

2018-10-16_17-56-52.png

 

 

 

Anonymous
Not applicable

Thank you all!!

hi, @Anonymous

You need to sort this in SSAS model itself as live connection does not have the ability to use this feature.

 

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.