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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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