cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
id013 Regular Visitor
Regular Visitor

Unable to set data category for anything that comes from tabular model

Hi,

 

I'm currently using a tabular model (direct query) with my power bi. I'm finding that I can't change the data category of any of the fields that come from the tabular model. So for example if I have a URL hardcoded in a field I can't go ahead and change the data category to URL so it can be clickable. I know the fields are all set as varchar in the tabular model, should I setting them as something else to allow me to do this?


Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Unable to set data category for anything that comes from tabular model

You would need to set the data category of the columns in the model using Visual Studio:

datacategory.jpg

Those data types will get fed to Power BI so if you set a column to 'WebURL' it will be clickable in Power BI.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Unable to set data category for anything that comes from tabular model

You would need to set the data category of the columns in the model using Visual Studio:

datacategory.jpg

Those data types will get fed to Power BI so if you set a column to 'WebURL' it will be clickable in Power BI.

View solution in original post

id013 Regular Visitor
Regular Visitor

Re: Unable to set data category for anything that comes from tabular model

Hi,

 

Thanks so much, I think this should fix it. I'll have to wait until the new version of the model is deployed to be completely sure.

 

Thanks again.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 480 members 4,645 guests
Please welcome our newest community members: