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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Yael
Helper IV
Helper IV

Creating a New column in Power BI Tabular model

Hello,

 

I’m connecting to Tabular Model with Power BI, and need to create a new column and add it to one of the fact tables already connected in the Tabular model.

In the fact table I have a measure called ”Age”, and I want to create a new column called “Age Category”, which is a function of “Age”, and will have the following values: 0-18, 18-25, 25-45, 45-65, 65+

 

When I connect to the Tabular Model with Power BI, I see that the “new column” icon is grayed out so I can’t seem to use it… The new measure option is enabled, but I don’t think it fits in this case…

 

Any advice anyone?

 

Thank you  Smiley Happy

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

If you aren't importing, then you will need to create a measure.


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

View solution in original post

v-shex-msft
Community Support
Community Support

Hi @Yael,

 

I think you have connect to live mode tabular datasource, right?

If this is a case, current power bi only allow create measure(live mode). I think you can change the mode to import or share this requirement to ideas forum.

 

Regards,

XIaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

6 REPLIES 6
v-shex-msft
Community Support
Community Support

Hi @Yael,

 

I think you have connect to live mode tabular datasource, right?

If this is a case, current power bi only allow create measure(live mode). I think you can change the mode to import or share this requirement to ideas forum.

 

Regards,

XIaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you @v-shex-msft.

 

What do you mean by "change the mode to import"? Instead of connect live mode to tabular?

 

Thank you!

Hi @Yael,

 

You can rebuild a report with import mode. For this mode, you can use all of the edit options.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you @v-shex-msft and @Greg_Deckler

Greg_Deckler
Super User
Super User

If you aren't importing, then you will need to create a measure.


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

Thank you.

 

I'm not sure that a measure fits in this case, since I need to add a description column, and not a numeric one.

Can I use measures in the filter? or use them as a legend in a visual?

 

Thank you!

 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.