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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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