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
Peter_2020
Helper III
Helper III

AVERAGE calculation

Hello all, 

I would like to ask you for your help with the following situation:

I have the table where I calculate average of filtered productivity by measure "Average":

Peter_2020_3-1676493582078.png

 

But when I use the same measure "Average" in gauge I receive totally different number. And I found that the reason is that in the table I am using measure as filter (PO STATUS = "CLOSED") and for the gauge it is not possible. With this filter I am filtering which PO is closed:

Peter_2020_1-1676493303799.png

When I try to define this filter directly to the "Average" metrics with Calculate formula, I receive this kind of error:

Peter_2020_2-1676493405197.png

Any idea how to get the proper number to the gauge?

Thanks in advance.

P.

 

2 REPLIES 2
amitchandak
Super User
Super User

@Peter_2020 , can you share the measure with error.

 

Also if you have measure then you can only filter it filter clause in calculate, not directly without filter in calculate

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak yes sure. here it is:

Peter_2020_0-1676535137512.png

 

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.