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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Average of filtered table visual

I have written a DAX measure which correctly gets the average of a table, however, now that I have added a visual level filter I need the average to now get the correct average according to what is actually showing on the table currently not what it originally showed without the visual level filter.

 

Current Average = 0.47%

Expected Average = 3.08%

 

Visual Level filter which I added

mdbuzzer15_1-1662722755227.png

Current Output:

mdbuzzer15_0-1662722716311.png

 

 

 

 

 

 

 

 

Expected Output (Checked via Excel):

mdbuzzer15_2-1662722819459.png

 

DAX Code:

AverageRate = 

  AVERAGEX (

        VALUES (d_cam[owner_name]),

         [SASRate]

    )

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I solved the issue by created a calculated table using the SUMMARIZE function then did a DAX measure based on that calculated table

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Thanks for your solution. If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


Looking forward to your feedback.


Best Regards,
Henry

Anonymous
Not applicable

I solved the issue by created a calculated table using the SUMMARIZE function then did a DAX measure based on that calculated table

Anonymous
Not applicable

I am sure there are some other filters applying to the visual. get the dax query of the visual and check 

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 Kudoed Authors