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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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