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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
reyesjosue
New Member

Data type concern

I am currently having an issue on Power BI. I have brought specific data from Excel and imported them into Power BI. When I try to insert my specific "Hour" data type and make it a table visual, the data type is not the appropriate way. The hours should be in a decimal data type but show up in whole number format in the table. I have listed images in the bottom. The image in the top , specifically the left hand table with the hour coulmn data is the one I am having an issue on. The data appears as whole numbers yet in the data view, it is a decimal format. I would like my hours coulmn to be in decimals.

The table on the  left hand is the one I am having an issue with, specifically the hour column data.The table on the left hand is the one I am having an issue with, specifically the hour column data.This image shows the hour coulmn data and how the data should look like, it is in decimal format.This image shows the hour coulmn data and how the data should look like, it is in decimal format.

1 ACCEPTED SOLUTION

Hi @reyesjosue ,

 

You can also change the date type for measure in the same place. Or you can change the it in the screenshot below:

 

Capture.PNG

 

Best Regards,

Dedmon Dai

View solution in original post

6 REPLIES 6
andre
Memorable Member
Memorable Member

looks like your aggregatin is set to Do Not Summarize, so when you pull Hours into a table it does Count and Not Sum, so since i cannot see how the table is set up, is it possible that you are looking at the Count of hours and not individual hours?

Anonymous
Not applicable

Can you just check that the column you have displayed in picture 1 is the "Hours" column from the data set labelled "Hours" and not from the dataset labelled cost to complete 

I am using the appropriate data set labeled "Hours"

Hi @reyesjosue ,

 

You can also change the date type for measure in the same place. Or you can change the it in the screenshot below:

 

Capture.PNG

 

Best Regards,

Dedmon Dai

FrankAT
Community Champion
Community Champion

Hi @reyesjosue ,

I can't reproduce your mistakes. To do this, I would have to get an excerpt from your data. Is that possible?
 
Regards FrankAT
dedelman_clng
Community Champion
Community Champion

Can you provide the code for the measures or calculated columns you are using? Often time loss of precision in a data type is because it is being calculated with another field or constant that has lesser precision, and the result takes on the lowest amount of precision.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors