cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

 

 

@amitchandak yes sure. here it is:

Peter_2020_0-1676535137512.png

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors