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
id013
Helper V
Helper V

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
jdbuchanan71
Super User
Super User

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
jdbuchanan71
Super User
Super User

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.

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