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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
stemorri
Frequent Visitor

Conditional Formatted Value

I have table in which I have unpivoted the columns against an ID variable in order to create one long table with a column called "Variable" and another column called "Value" associated witth each "ID". See an example bellow.

IDVariableValue
ANameSteve Banks
ABirth Date1987/04/03
AOccupationAnalyst
BNameChris Allison
BBirth Date1999/03/02
BOccupationManager
CNameShelley Guade
CBirth Date1995/03/05
COccupationAnalyst

 

I am then using a matrix table in Power BI to display the variables and values for each ID. 

 

the problem I am having is that the default data type in my "Value" column is "text" since that is the data type Power BI is recognizing for the variable "Value". I want to be able to have a condition that can parse this variable and conditionally change the format of "text" to variables that should be formatted as strings and "date" to variables that should be formatted as dates.

Any tips on how to achieve this would be much appreciated.

1 REPLY 1
Anonymous
Not applicable

Hi @stemorri ,

 

It is not supported for single column to have mixed data types in Power BI.

You may submit this as an idea.

https://ideas.powerbi.com/ 

Let me know if I misunderstood your meaning.

 

Best Regards,

Jay

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.