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
Anonymous
Not applicable

Change data format when live connection at power bi level

hello,

Have ssas model and power bi source is live connection ,Have one colunm  data type is decimal when showing this values on power bi for some kpis want reflects 2 decimals and some 4 decimals is it possible or how ? i have 65 kpis and decimals are not fixed some are 2 or some are 4.

kpisvalues
Production Hours46654.1111
Electricity Usage87.88
Fuel Oil/Diesoline Usage, Lit20.1111
Input Tonnage :77.98
HTDB123.7777
BIC0.33
LC566.99
Mill Returns45.3


Suppose in above table some kpis like e.g Production Hours,Fuel Oil/Diesoline Usage, Lit and HTDB having 4 decimal and others are 2 decimal .

As per standard SSAS model structure, we can set on one colum either long decimal or short. but here want to set variant demial places on one column is it possible ?.
I know round function option is available but there are 60 to 70 kpis so in round have to set for one by one kpis ,any other solution plz know the possibility?
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 


Try create a measure with Format(). 

 

Measure = FORMAT(SUM('Table'[values]),"General Number")

 

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , in data format you can check and change the decimal place?

Data Format New Rib.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak in live connection "data type","data formate" all options are disabled ,so not change directly .

Anonymous
Not applicable

@Anonymous 


Try create a measure with Format(). 

 

Measure = FORMAT(SUM('Table'[values]),"General Number")

 

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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