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
kia
New Member

Query on Power bi dax

Hi Team,

I am working on ipl data set ,my question is

q1:how to write a dax function to calculate total runs made by the batsman along with his name .

 

 

 

 

IPL Complete Dataset (2008-2020) | Kaggle

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi  @kia 

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

ribisht17
Super User
Super User

@kia 

 

1. Connect to Dataset

2.

 

Column = CALCULATE(sum('IPL Ball-by-Ball 2008-2020'[batsman_runs]),ALLEXCEPT('IPL Ball-by-Ball 2008-2020','IPL Ball-by-Ball 2008-2020'[batsman]))

 

 

 

 

Regards,

Ritesh

Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users 

 

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