Forum Discussion

Peris's avatar
Peris
New Member
1 year ago
Solved

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 Deskt...
  • v-sgandrathi's avatar
    1 year ago

    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.