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
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.


@ 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!:
The Definitive Guide to Power Query (M)

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
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.

Top Solution Authors