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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ArchStanton
Post Prodigy
Post Prodigy

Text added to measure error

Hi,

 

I have the following measure that almost works but I'm seeing 12 decimal places in the result.

 

 

Avg Case Length =
CALCULATE (
    AVERAGEX ( 'Cases', 'Cases'[Case Length (Validation Date)] ),
    'Cases'[User Team Name] = "ERT"
) & " Days"

 

 

Result = 21.225874125874 Days

 

How can I make this result just 1 decimal place?

 

Thanks,

1 ACCEPTED SOLUTION
brokencornets
Helper III
Helper III

Try this?

Avg Case Length =
FORMAT(CALCULATE (
    AVERAGEX ( 'Cases', 'Cases'[Case Length (Validation Date)] ),
    'Cases'[User Team Name] = "ERT"
),"0.0") & " Days"

View solution in original post

2 REPLIES 2
brokencornets
Helper III
Helper III

Try this?

Avg Case Length =
FORMAT(CALCULATE (
    AVERAGEX ( 'Cases', 'Cases'[Case Length (Validation Date)] ),
    'Cases'[User Team Name] = "ERT"
),"0.0") & " Days"

Thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.