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

Ask the Fabric Databases & App Development teams anything! Live on Reddit on August 26th. Learn more.

Reply
Peris
New Member

undefined

Hey all,

I'm working with huge data sets.I have a challenge with the age dataset, as the data is a mix of age in hours, months, and years, which causes an error when importing it to Power BI Desktop. I need help on how to categorize /format this data so that I'm able to import the entire data without an error.

Thanks for all your help.

1 ACCEPTED SOLUTION
v-sgandrathi
Community Support
Community Support

Hi @Peris,

Thank you for being a part of the Microsoft Fabric Community.

 

The user is working with a dataset where "age" values are recorded inconsistently in hours, months, and years. This inconsistency leads to errors when importing the data into Power BI Desktop. The user seeks guidance on standardizing or categorizing this mixed-format age data for error-free import and usage in Power BI.

We need to convert all age values into a single, consistent unit (such as years, months, or hours) before importing into Power BI. This will help avoid data type errors and ensure accurate analysis and visualization.

If standardization before import is not feasible, the user may need to create a new column in Power Query or Power BI to identify the unit for each age value or transform all values to a common unit using conditional logic.

The goal is to ensure the dataset can be imported into Power BI Desktop without errors due to mixed data types or formats.

 

I hope my suggestions provided valuable insights. If you have any further questions, don’t hesitate to ask in a follow-up message.
If this post helped, please mark it as "Accept as Solution" so others can benefit as well.

 

Best regards,
Sahasra.

View solution in original post

4 REPLIES 4
v-sgandrathi
Community Support
Community Support

Hi @Peris,

Thank you for being a part of the Microsoft Fabric Community.

 

The user is working with a dataset where "age" values are recorded inconsistently in hours, months, and years. This inconsistency leads to errors when importing the data into Power BI Desktop. The user seeks guidance on standardizing or categorizing this mixed-format age data for error-free import and usage in Power BI.

We need to convert all age values into a single, consistent unit (such as years, months, or hours) before importing into Power BI. This will help avoid data type errors and ensure accurate analysis and visualization.

If standardization before import is not feasible, the user may need to create a new column in Power Query or Power BI to identify the unit for each age value or transform all values to a common unit using conditional logic.

The goal is to ensure the dataset can be imported into Power BI Desktop without errors due to mixed data types or formats.

 

I hope my suggestions provided valuable insights. If you have any further questions, don’t hesitate to ask in a follow-up message.
If this post helped, please mark it as "Accept as Solution" so others can benefit as well.

 

Best regards,
Sahasra.

Hi @Peris,


we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

If our response addressed by the community member for  your query, please mark it as Accept Answer and give us Kudos. Should you have any further questions, feel free to reach out.


Thank you for being a part of the Microsoft Fabric Community Forum!

Hi @Peris,

 

We wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.

If my answer resolved your query, please mark it as "Accept Answer" and give Kudos if it was helpful.

If you need any further assistance, feel free to reach out.

 

Thank you for being a valued member of the Microsoft Fabric Community Forum!

Hi @Peris,

 

We wanted to check if you had a chance to review our last reply. Let us know if it helped or if you need more guidance—we're always happy to help further.

If the solution worked for you, please click Accept as Solution and feel free to leave a Kudos for visibility.

Looking forward to hearing from you!

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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