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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
The8
Helper II
Helper II

Average in a table visualisation instead of Total, Possible?

Hi,

It's an simple question. IS that possible to have a average values of all rows in table as shown in image of table visualisation instead of total values of rows?

 

The8_0-1695281125026.png

 



If yes, let me know with sample data of your choiceand how?

Thanks in advance.

@PravalikaT 

1 ACCEPTED SOLUTION
devesh_gupta
Super User
Super User

@The8 Yes, it is possible to show the average values of all rows in a table instead of the total values of rows.

Solution1: In Power BI, you can right-click on your value fields and choose the aggregate mode ‘average’.

 

Average at total level.png

 

Solution2: If you don't want to see average at the row level and only want to see average at the total level then you can achieve this by using ISINSCOPE. You can follow this tutorial for the same, it'll defiitely help you: https://youtu.be/smhIPw3OkKA?feature=shared

 

If you find this insightful, please provide a Kudo and accept this as a solution.

View solution in original post

2 REPLIES 2
The8
Helper II
Helper II

@devesh_gupta  I am intrested with your Solution 2, the video which shows me a table with Avg. at total by creating a measure. 

In this measure in video we have formula where we use column names(Brand) and as well measure (net). I have taken inputs from video and generated a measure where we use column names of my table.

For example 

Table name: Column Total by Avg.

Columns 
Level, Value 1 , Value 2

Row value 1 Avg. =
IF (
    ISINSCOPE('Column Total by Avg'[Level]),
    SUM('Column Total by Avg'[Value 1]),
    AVERAGEX(VALUES('Column Total by Avg'[Level]), CALCULATE(SUM('Column Total by Avg'[Value 1])))
)
Thanks @devesh_gupta 




devesh_gupta
Super User
Super User

@The8 Yes, it is possible to show the average values of all rows in a table instead of the total values of rows.

Solution1: In Power BI, you can right-click on your value fields and choose the aggregate mode ‘average’.

 

Average at total level.png

 

Solution2: If you don't want to see average at the row level and only want to see average at the total level then you can achieve this by using ISINSCOPE. You can follow this tutorial for the same, it'll defiitely help you: https://youtu.be/smhIPw3OkKA?feature=shared

 

If you find this insightful, please provide a Kudo and accept this as a solution.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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