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
huonghill
Employee
Employee

How do I show mixed data types in a column

Hi, 

In the SharePoint data source, business has mixed data types Percentage, and Whole Number.  When the data is brought into SQL Server, data type is converted to decimal. 

huonghill_2-1603136302219.png

 

My goal is to show the data in PowerBI as it is shown in SharePoint. I tried Format() to format datat type, but it came out as "25%, 100%, 300%". That is not the result I want. Can someone please tell me what I should do in this situation? 

 

Thank you in advance! 

 

 

 

1 ACCEPTED SOLUTION

Power BI is a database - it requires all data in a column to be the same data type. You could use FORMAT to change the visual display, but you will need to share more details about your data model, table structure and visualisation needs if you want some help doing this. 

or you could just load the data as text (which is probably what SharePoint is doing). 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

1 REPLY 1

Power BI is a database - it requires all data in a column to be the same data type. You could use FORMAT to change the visual display, but you will need to share more details about your data model, table structure and visualisation needs if you want some help doing this. 

or you could just load the data as text (which is probably what SharePoint is doing). 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

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.