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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
VK7
Frequent Visitor

How to get row total when field parameters used

I've created table with Name, Roll & Field parameter (English,Maths, Science). I need to calculate Percentage column by 
adding the subjects (English+Maths+Science) Divided by no. of field parameter selceted.
For Instance,
in below scenario it should be (English + Maths + Science) Divided by 3

VK7_5-1662795841786.png

whereas, in below scenario it should be (English + Maths) Divided by 2

VK7_4-1662795799121.png

Below image from Power bi.

VK7_6-1662796778050.png

@Rickmaurinus  

@GuyInACube 

@Curbal

1 ACCEPTED SOLUTION
davehus
Memorable Member
Memorable Member

Hi @VK7 ,

 

The easiest thing to do is normalize your data by unpivoting it into a table. Please see attached example.

 

Hope this helps.

 

Did I help you today? Please accept my solution and hit the Kudos button.

View solution in original post

1 REPLY 1
davehus
Memorable Member
Memorable Member

Hi @VK7 ,

 

The easiest thing to do is normalize your data by unpivoting it into a table. Please see attached example.

 

Hope this helps.

 

Did I help you today? Please accept my solution and hit the Kudos button.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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