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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors