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
bruleyn
Frequent Visitor

Changing data type/display based on column

I would like to display data on the same graph but change the filter to display individual rows of data. Some rows may have values as numbers and some as percents. Is there a way to tell PowerBI to display the Y-axis as a percent or a value, depending perhaps a column that has a "P" for percent or "V" for value? I realize I can create a calculated column that multiplies the percent by 100 for "P" and just returns the value for "V", but then the % symbol is not included in the graph...

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @bruleyn,

We can not set the same column in different format, if you want to add the % in the column using the formula below, the type will be text. You can not use text data type in value field. 

Percentage = CONCATENATE( Table1[Column2]*100,"%")


1.PNG

So for your requirement, we can not displysame column in different format.

Best Regards,
Angelia

View solution in original post

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @bruleyn,

We can not set the same column in different format, if you want to add the % in the column using the formula below, the type will be text. You can not use text data type in value field. 

Percentage = CONCATENATE( Table1[Column2]*100,"%")


1.PNG

So for your requirement, we can not displysame column in different format.

Best Regards,
Angelia

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.